@umijs/bundler-webpack 4.0.86 → 4.0.87
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/schema.js +1 -2
- 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/schema.js
CHANGED
|
@@ -161,8 +161,7 @@ function getSchemas() {
|
|
|
161
161
|
srcTranspiler: ({ zod }) => zod.enum([
|
|
162
162
|
import_types.Transpiler.babel,
|
|
163
163
|
import_types.Transpiler.esbuild,
|
|
164
|
-
import_types.Transpiler.swc
|
|
165
|
-
import_types.Transpiler.none
|
|
164
|
+
import_types.Transpiler.swc
|
|
166
165
|
]),
|
|
167
166
|
srcTranspilerOptions: ({ zod }) => zod.object({
|
|
168
167
|
esbuild: 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.87",
|
|
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/bundler-utils": "4.0.
|
|
42
|
-
"@umijs/
|
|
43
|
-
"@umijs/utils": "4.0.
|
|
44
|
-
"@umijs/
|
|
41
|
+
"@umijs/bundler-utils": "4.0.87",
|
|
42
|
+
"@umijs/mfsu": "4.0.87",
|
|
43
|
+
"@umijs/utils": "4.0.87",
|
|
44
|
+
"@umijs/babel-preset-umi": "4.0.87"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@swc/core": "1.3.67",
|