@umijs/bundler-utoopack 4.6.6 → 4.6.8
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.js +2 -2
- package/package.json +4 -4
package/dist/config.js
CHANGED
|
@@ -126,7 +126,7 @@ async function getProdUtooPackConfig(opts) {
|
|
|
126
126
|
});
|
|
127
127
|
let utooBundlerOpts = (0, import_pack.compatOptionsFromWebpack)({
|
|
128
128
|
...import_utils.lodash.omit(webpackConfig, ["target", "module", "externals"]),
|
|
129
|
-
|
|
129
|
+
webpackMode: true
|
|
130
130
|
});
|
|
131
131
|
const extraBabelPlugins = [
|
|
132
132
|
...opts.extraBabelPlugins || [],
|
|
@@ -201,7 +201,7 @@ async function getDevUtooPackConfig(opts) {
|
|
|
201
201
|
});
|
|
202
202
|
let utooBundlerOpts = (0, import_pack.compatOptionsFromWebpack)({
|
|
203
203
|
...import_utils.lodash.omit(webpackConfig, ["target", "module", "externals"]),
|
|
204
|
-
|
|
204
|
+
webpackMode: true
|
|
205
205
|
});
|
|
206
206
|
const extraBabelPlugins = [
|
|
207
207
|
...opts.extraBabelPlugins || [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-utoopack",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.8",
|
|
4
4
|
"description": "@umijs/bundler-utoopack",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@utoo/pack": "1.0
|
|
11
|
+
"@utoo/pack": "1.1.0",
|
|
12
12
|
"compression": "^1.7.4",
|
|
13
13
|
"connect-history-api-fallback": "^2.0.0",
|
|
14
14
|
"cors": "^2.8.5",
|
|
15
15
|
"express": "^4.18.2",
|
|
16
16
|
"express-http-proxy": "^2.1.1",
|
|
17
|
-
"@umijs/bundler-utils": "4.6.
|
|
18
|
-
"@umijs/bundler-webpack": "4.6.
|
|
17
|
+
"@umijs/bundler-utils": "4.6.8",
|
|
18
|
+
"@umijs/bundler-webpack": "4.6.8"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"father": "4.1.5"
|