@esmx/rspack-vue 3.0.0-rc.20 → 3.0.0-rc.21
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/vue-core.mjs +0 -10
- package/package.json +5 -5
- package/src/vue-core.ts +0 -12
package/dist/vue-core.mjs
CHANGED
|
@@ -75,16 +75,6 @@ export function createRspackVueApp(esmx, vueType, options) {
|
|
|
75
75
|
vue$: vueAlias
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
if (vueType === "2") {
|
|
79
|
-
config.ignoreWarnings = [
|
|
80
|
-
...config.ignoreWarnings ?? [],
|
|
81
|
-
(warning) => {
|
|
82
|
-
return warning.moduleDescriptor.name.includes(
|
|
83
|
-
"vue-server-renderer"
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
];
|
|
87
|
-
}
|
|
88
78
|
options?.config?.(context);
|
|
89
79
|
}
|
|
90
80
|
});
|
package/package.json
CHANGED
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"vue": ">=2.7.8 || >=3.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@esmx/rspack": "3.0.0-rc.
|
|
59
|
+
"@esmx/rspack": "3.0.0-rc.21",
|
|
60
60
|
"vue-style-loader": "^4.1.3",
|
|
61
61
|
"vue2-loader": "npm:vue-loader@15.11.1",
|
|
62
62
|
"vue3-loader": "npm:vue-loader@^17.4.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@biomejs/biome": "1.9.4",
|
|
66
|
-
"@esmx/core": "3.0.0-rc.
|
|
67
|
-
"@esmx/lint": "3.0.0-rc.
|
|
66
|
+
"@esmx/core": "3.0.0-rc.21",
|
|
67
|
+
"@esmx/lint": "3.0.0-rc.21",
|
|
68
68
|
"@types/node": "22.15.18",
|
|
69
69
|
"@vitest/coverage-v8": "3.1.3",
|
|
70
70
|
"stylelint": "16.19.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"unbuild": "3.5.0",
|
|
73
73
|
"vitest": "3.1.3"
|
|
74
74
|
},
|
|
75
|
-
"version": "3.0.0-rc.
|
|
75
|
+
"version": "3.0.0-rc.21",
|
|
76
76
|
"type": "module",
|
|
77
77
|
"private": false,
|
|
78
78
|
"exports": {
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"template",
|
|
92
92
|
"public"
|
|
93
93
|
],
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "207b033a1ebd014573315125ef6518f463073282"
|
|
95
95
|
}
|
package/src/vue-core.ts
CHANGED
|
@@ -91,18 +91,6 @@ export function createRspackVueApp(
|
|
|
91
91
|
vue$: vueAlias
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
// 设置 vue 相关忽略信息。
|
|
95
|
-
if (vueType === '2') {
|
|
96
|
-
config.ignoreWarnings = [
|
|
97
|
-
...(config.ignoreWarnings ?? []),
|
|
98
|
-
(warning) => {
|
|
99
|
-
// @ts-ignore
|
|
100
|
-
return warning.moduleDescriptor.name.includes(
|
|
101
|
-
'vue-server-renderer'
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
];
|
|
105
|
-
}
|
|
106
94
|
// 设置自定义配置
|
|
107
95
|
options?.config?.(context);
|
|
108
96
|
}
|