@rsbuild/plugin-vue2 0.0.0-nightly-20231019160847 → 0.0.0-nightly-20231020160758

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ function pluginVue2(options = {}) {
41
41
  remove: ["plugin-react", "plugin-antd", "plugin-arco"],
42
42
  async setup(api) {
43
43
  api.modifyRsbuildConfig((config, { mergeRsbuildConfig }) => {
44
- const builderConfig = {
44
+ const rsbuildConfig = {
45
45
  output: {
46
46
  disableSvgr: true
47
47
  },
@@ -60,9 +60,9 @@ function pluginVue2(options = {}) {
60
60
  }
61
61
  };
62
62
  if (api.context.bundlerType === "rspack") {
63
- builderConfig.output.disableCssExtract = true;
63
+ rsbuildConfig.output.disableCssExtract = true;
64
64
  }
65
- return mergeRsbuildConfig(config, builderConfig);
65
+ return mergeRsbuildConfig(config, rsbuildConfig);
66
66
  });
67
67
  api.modifyBundlerChain(async (chain, { CHAIN_ID }) => {
68
68
  var _a;
package/package.json CHANGED
@@ -8,12 +8,12 @@
8
8
  "directory": "packages/plugin-vue"
9
9
  },
10
10
  "license": "MIT",
11
- "version": "0.0.0-nightly-20231019160847",
11
+ "version": "0.0.0-nightly-20231020160758",
12
12
  "types": "./dist/index.d.ts",
13
13
  "main": "./dist/index.js",
14
- "module": "./dist/index.js",
15
14
  "exports": {
16
15
  ".": {
16
+ "types": "./dist/index.d.ts",
17
17
  "default": "./dist/index.js"
18
18
  }
19
19
  },
@@ -23,25 +23,25 @@
23
23
  "dependencies": {
24
24
  "@vue/babel-preset-jsx": "^1.4.0",
25
25
  "vue-loader": "^15.10.1",
26
- "@rsbuild/shared": "0.0.0-nightly-20231019160847"
26
+ "@rsbuild/shared": "0.0.0-nightly-20231020160758"
27
27
  },
28
28
  "devDependencies": {
29
- "@babel/core": "^7.22.15",
29
+ "@babel/core": "^7.23.2",
30
30
  "typescript": "^5",
31
31
  "webpack": "^5.88.1",
32
- "@rsbuild/core": "0.0.0-nightly-20231019160847",
33
- "@rsbuild/webpack": "0.0.0-nightly-20231019160847"
32
+ "@rsbuild/core": "0.0.0-nightly-20231020160758",
33
+ "@rsbuild/webpack": "0.0.0-nightly-20231020160758",
34
+ "@rsbuild/test-helper": "0.0.0-nightly-20231020160758"
34
35
  },
35
36
  "peerDependencies": {
36
- "@rsbuild/core": "0.0.0-nightly-20231019160847",
37
- "@rsbuild/webpack": "0.0.0-nightly-20231019160847"
37
+ "@rsbuild/core": "0.0.0-nightly-20231020160758",
38
+ "@rsbuild/webpack": "0.0.0-nightly-20231020160758"
38
39
  },
39
40
  "peerDependenciesMeta": {
40
41
  "@rsbuild/webpack": {
41
42
  "optional": true
42
43
  }
43
44
  },
44
- "sideEffects": false,
45
45
  "publishConfig": {
46
46
  "registry": "https://registry.npmjs.org/",
47
47
  "access": "public",