@umijs/bundler-webpack 4.0.0-canary.20220920.1 → 4.0.0-canary.20220928.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.
Files changed (2) hide show
  1. package/dist/dev.js +1 -2
  2. package/package.json +5 -5
package/dist/dev.js CHANGED
@@ -84,7 +84,6 @@ async function dev(opts) {
84
84
  });
85
85
  }
86
86
  const webpackConfig = await (0, import_config.getConfig)({
87
- name: opts.mfsuStrategy === "eager" ? "eager" : void 0,
88
87
  cwd: opts.cwd,
89
88
  rootDir: opts.rootDir,
90
89
  env: import_types.Env.development,
@@ -108,7 +107,7 @@ async function dev(opts) {
108
107
  analyze: process.env.ANALYZE,
109
108
  cache: opts.cache ? {
110
109
  ...opts.cache,
111
- cacheDirectory: (0, import_path.join)(cacheDirectoryPath, "bundler-webpack")
110
+ cacheDirectory: (0, import_path.join)(cacheDirectoryPath, opts.mfsuStrategy === "eager" ? "bundler-webpack-eager" : "bundler-webpack")
112
111
  } : void 0,
113
112
  pkg: opts.pkg
114
113
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/bundler-webpack",
3
- "version": "4.0.0-canary.20220920.1",
3
+ "version": "4.0.0-canary.20220928.1",
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",
@@ -34,11 +34,11 @@
34
34
  "@svgr/plugin-jsx": "^6.2.1",
35
35
  "@svgr/plugin-svgo": "^6.2.0",
36
36
  "@types/hapi__joi": "17.1.8",
37
- "@umijs/babel-preset-umi": "4.0.0-canary.20220920.1",
38
- "@umijs/bundler-utils": "4.0.0-canary.20220920.1",
37
+ "@umijs/babel-preset-umi": "4.0.0-canary.20220928.1",
38
+ "@umijs/bundler-utils": "4.0.0-canary.20220928.1",
39
39
  "@umijs/case-sensitive-paths-webpack-plugin": "^1.0.1",
40
- "@umijs/mfsu": "4.0.0-canary.20220920.1",
41
- "@umijs/utils": "4.0.0-canary.20220920.1",
40
+ "@umijs/mfsu": "4.0.0-canary.20220928.1",
41
+ "@umijs/utils": "4.0.0-canary.20220928.1",
42
42
  "cors": "^2.8.5",
43
43
  "css-loader": "6.7.1",
44
44
  "es5-imcompatible-versions": "^0.1.73",