@empjs/plugin-vue2 3.0.0-alpha.4 → 3.0.0-alpha.5
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.
- package/dist/index.js +10 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,7 +7,14 @@ export default () => {
|
|
|
7
7
|
//
|
|
8
8
|
const { importResolve } = store;
|
|
9
9
|
//
|
|
10
|
-
store.merge({
|
|
10
|
+
store.merge({
|
|
11
|
+
experiments: {
|
|
12
|
+
css: false,
|
|
13
|
+
rspackFuture: {
|
|
14
|
+
newTreeshaking: true, // 该功能启用了与 webpack 相同的新摇树优化实现,可以生成更高效和更小的代码。
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
});
|
|
11
18
|
// console.log(store.chain)
|
|
12
19
|
// store.chain.store('experiments').add({css:false})
|
|
13
20
|
const { chain } = store;
|
|
@@ -46,8 +53,8 @@ export default () => {
|
|
|
46
53
|
importResolve('@vue/babel-preset-jsx'),
|
|
47
54
|
{
|
|
48
55
|
compositionAPI: true,
|
|
49
|
-
injectH: true,
|
|
50
|
-
vModel: false,
|
|
56
|
+
// injectH: true,
|
|
57
|
+
// vModel: false,
|
|
51
58
|
},
|
|
52
59
|
],
|
|
53
60
|
],
|