@rsbuild/plugin-vue2 0.0.0-nightly-20231024161008 → 0.0.0-nightly-20231027160925

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 +1 -11
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -45,21 +45,11 @@ function pluginVue2(options = {}) {
45
45
  compilerOptions: {
46
46
  preserveWhitespace: false
47
47
  },
48
- experimentalInlineMatchResource: api.context.bundlerType === "rspack"
48
+ experimentalInlineMatchResource: true
49
49
  },
50
50
  (_a = options.vueLoaderOptions) != null ? _a : {}
51
51
  );
52
52
  chain.module.rule(CHAIN_ID.RULE.VUE).test(/\.vue$/).use(CHAIN_ID.USE.VUE).loader(require.resolve("vue-loader")).options(vueLoaderOptions);
53
- if (api.context.bundlerType === "rspack" && !chain.module.rules.has(CHAIN_ID.RULE.TS)) {
54
- chain.module.rule(CHAIN_ID.RULE.TS).type("javascript/auto").test(/\.ts$/).use(CHAIN_ID.USE.SWC).loader("builtin:swc-loader").options({
55
- sourceMap: true,
56
- jsc: {
57
- parser: {
58
- syntax: "typescript"
59
- }
60
- }
61
- });
62
- }
63
53
  chain.plugin(CHAIN_ID.PLUGIN.VUE_LOADER_PLUGIN).use(import_vue_loader.VueLoaderPlugin);
64
54
  });
65
55
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "directory": "packages/plugin-vue2"
9
9
  },
10
10
  "license": "MIT",
11
- "version": "0.0.0-nightly-20231024161008",
11
+ "version": "0.0.0-nightly-20231027160925",
12
12
  "types": "./dist/index.d.ts",
13
13
  "main": "./dist/index.js",
14
14
  "exports": {
@@ -22,16 +22,16 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "vue-loader": "^15.11.1",
25
- "@rsbuild/shared": "0.0.0-nightly-20231024161008"
25
+ "@rsbuild/shared": "0.0.0-nightly-20231027160925"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "^5",
29
29
  "webpack": "^5.88.1",
30
- "@rsbuild/core": "0.0.0-nightly-20231024161008",
31
- "@rsbuild/test-helper": "0.0.0-nightly-20231024161008"
30
+ "@rsbuild/core": "0.0.0-nightly-20231027160925",
31
+ "@rsbuild/test-helper": "0.0.0-nightly-20231027160925"
32
32
  },
33
33
  "peerDependencies": {
34
- "@rsbuild/core": "0.0.0-nightly-20231024161008"
34
+ "@rsbuild/core": "0.0.0-nightly-20231027160925"
35
35
  },
36
36
  "publishConfig": {
37
37
  "registry": "https://registry.npmjs.org/",