@umijs/bundler-webpack 4.0.0-canary.20220620.1 → 4.0.0-canary.20220624.1
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/config.js +1 -1
- package/dist/schema.d.ts +1 -2
- package/package.json +6 -6
package/dist/config/config.js
CHANGED
|
@@ -71,7 +71,7 @@ async function getConfig(opts) {
|
|
|
71
71
|
: userConfig.devtool || constants_1.DEFAULT_DEVTOOL
|
|
72
72
|
: userConfig.devtool);
|
|
73
73
|
// output
|
|
74
|
-
const absOutputPath = (0, path_1.
|
|
74
|
+
const absOutputPath = (0, path_1.resolve)(opts.cwd, userConfig.outputPath || constants_1.DEFAULT_OUTPUT_PATH);
|
|
75
75
|
const disableCompress = process.env.COMPRESS === 'none';
|
|
76
76
|
config.output
|
|
77
77
|
.path(absOutputPath)
|
package/dist/schema.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-webpack",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20220624.1",
|
|
4
4
|
"description": "@umijs/bundler-webpack",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/bundler-webpack#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build": "pnpm tsc",
|
|
25
25
|
"build:client": "pnpm tsc --project ./tsconfig.client.json",
|
|
26
26
|
"build:deps": "umi-scripts bundleDeps",
|
|
27
|
-
"dev": "pnpm build --
|
|
27
|
+
"dev": "pnpm build --watch",
|
|
28
28
|
"generate:webpackPackages": "zx ./scripts/generateWebpackPackages.mjs",
|
|
29
29
|
"test": "umi-scripts jest-turbo"
|
|
30
30
|
},
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@svgr/plugin-jsx": "^6.2.1",
|
|
36
36
|
"@svgr/plugin-svgo": "^6.2.0",
|
|
37
37
|
"@types/hapi__joi": "17.1.8",
|
|
38
|
-
"@umijs/babel-preset-umi": "4.0.0-canary.
|
|
39
|
-
"@umijs/bundler-utils": "4.0.0-canary.
|
|
40
|
-
"@umijs/mfsu": "4.0.0-canary.
|
|
41
|
-
"@umijs/utils": "4.0.0-canary.
|
|
38
|
+
"@umijs/babel-preset-umi": "4.0.0-canary.20220624.1",
|
|
39
|
+
"@umijs/bundler-utils": "4.0.0-canary.20220624.1",
|
|
40
|
+
"@umijs/mfsu": "4.0.0-canary.20220624.1",
|
|
41
|
+
"@umijs/utils": "4.0.0-canary.20220624.1",
|
|
42
42
|
"cors": "^2.8.5",
|
|
43
43
|
"css-loader": "6.7.1",
|
|
44
44
|
"es5-imcompatible-versions": "^0.1.73",
|