@umijs/bundler-webpack 4.0.86 → 4.0.88
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/config/cssRules.js +1 -1
- package/dist/dev.js +1 -1
- package/dist/schema.js +1 -6
- package/package.json +5 -5
package/dist/config/cssRules.js
CHANGED
|
@@ -90,7 +90,7 @@ async function addCSSRules(opts) {
|
|
|
90
90
|
esModule: true
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
-
const getLocalIdent = userConfig.ssr && getLocalIdentForSSR;
|
|
93
|
+
const getLocalIdent = userConfig.ssr && userConfig.ssr.compiler === "esbuild" ? getLocalIdentForSSR : void 0;
|
|
94
94
|
const localIdentName = "[local]___[hash:base64:5]";
|
|
95
95
|
let cssLoaderModulesConfig;
|
|
96
96
|
if (isAutoCSSModuleRule) {
|
package/dist/dev.js
CHANGED
package/dist/schema.js
CHANGED
|
@@ -158,12 +158,7 @@ function getSchemas() {
|
|
|
158
158
|
purgeCSS: ({ zod }) => zod.record(zod.string(), zod.any()),
|
|
159
159
|
runtimePublicPath: ({ zod }) => zod.object({}),
|
|
160
160
|
sassLoader: ({ zod }) => zod.record(zod.string(), zod.any()),
|
|
161
|
-
srcTranspiler: ({ zod }) => zod.enum([
|
|
162
|
-
import_types.Transpiler.babel,
|
|
163
|
-
import_types.Transpiler.esbuild,
|
|
164
|
-
import_types.Transpiler.swc,
|
|
165
|
-
import_types.Transpiler.none
|
|
166
|
-
]),
|
|
161
|
+
srcTranspiler: ({ zod }) => zod.enum([import_types.Transpiler.babel, import_types.Transpiler.esbuild, import_types.Transpiler.swc]),
|
|
167
162
|
srcTranspilerOptions: ({ zod }) => zod.object({
|
|
168
163
|
esbuild: zod.record(zod.string(), zod.any()),
|
|
169
164
|
swc: zod.record(zod.string(), zod.any())
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-webpack",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.88",
|
|
4
4
|
"description": "@umijs/bundler-webpack",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/bundler-webpack#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"postcss-preset-env": "7.5.0",
|
|
39
39
|
"react-error-overlay": "6.0.9",
|
|
40
40
|
"react-refresh": "0.14.0",
|
|
41
|
-
"@umijs/
|
|
42
|
-
"@umijs/
|
|
43
|
-
"@umijs/utils": "4.0.
|
|
44
|
-
"@umijs/
|
|
41
|
+
"@umijs/babel-preset-umi": "4.0.88",
|
|
42
|
+
"@umijs/mfsu": "4.0.88",
|
|
43
|
+
"@umijs/utils": "4.0.88",
|
|
44
|
+
"@umijs/bundler-utils": "4.0.88"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@swc/core": "1.3.67",
|