@umijs/bundler-webpack 3.5.19 → 3.5.22
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.
|
@@ -494,7 +494,12 @@ function _getConfig() {
|
|
|
494
494
|
browserslist,
|
|
495
495
|
miniCSSExtractPluginLoaderPath
|
|
496
496
|
}, opts));
|
|
497
|
-
}
|
|
497
|
+
} // node: prefix import
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
webpackConfig.plugin('node-prefix-plugin').use(defaultWebpack().NormalModuleReplacementPlugin, [/^node:/, resource => {
|
|
501
|
+
resource.request = resource.request.replace(/^node:/, '');
|
|
502
|
+
}]);
|
|
498
503
|
|
|
499
504
|
if (opts.chainWebpack) {
|
|
500
505
|
webpackConfig = yield opts.chainWebpack(webpackConfig, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-webpack",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.22",
|
|
4
4
|
"description": "@umijs/bundler-webpack",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"strip-ansi": "6.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@umijs/bundler-utils": "3.5.
|
|
41
|
-
"@umijs/deps": "3.5.
|
|
42
|
-
"@umijs/types": "3.5.
|
|
43
|
-
"@umijs/utils": "3.5.
|
|
40
|
+
"@umijs/bundler-utils": "3.5.22",
|
|
41
|
+
"@umijs/deps": "3.5.22",
|
|
42
|
+
"@umijs/types": "3.5.22",
|
|
43
|
+
"@umijs/utils": "3.5.22",
|
|
44
44
|
"jest-worker": "26.6.2",
|
|
45
45
|
"node-libs-browser": "2.2.1",
|
|
46
46
|
"normalize-url": "1.9.1",
|