@rsbuild/webpack 0.7.0-beta.4 → 0.7.0-beta.5
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/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -62,7 +62,7 @@ async function inspectConfig({
|
|
|
62
62
|
})).webpackConfigs;
|
|
63
63
|
const rsbuildDebugConfig = {
|
|
64
64
|
...context.normalizedConfig,
|
|
65
|
-
pluginNames: pluginManager.
|
|
65
|
+
pluginNames: pluginManager.getPlugins().map((p) => p.name)
|
|
66
66
|
};
|
|
67
67
|
const rawRsbuildConfig = await (0, import_shared.stringifyConfig)(
|
|
68
68
|
rsbuildDebugConfig,
|
|
@@ -367,7 +367,7 @@ async function createDevMiddleware(options, customCompiler) {
|
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
369
|
return {
|
|
370
|
-
devMiddleware: getDevMiddleware(compiler),
|
|
370
|
+
devMiddleware: await getDevMiddleware(compiler),
|
|
371
371
|
compiler
|
|
372
372
|
};
|
|
373
373
|
}
|
package/dist/index.js
CHANGED
|
@@ -86,7 +86,7 @@ async function inspectConfig({
|
|
|
86
86
|
})).webpackConfigs;
|
|
87
87
|
const rsbuildDebugConfig = {
|
|
88
88
|
...context.normalizedConfig,
|
|
89
|
-
pluginNames: pluginManager.
|
|
89
|
+
pluginNames: pluginManager.getPlugins().map((p) => p.name)
|
|
90
90
|
};
|
|
91
91
|
const rawRsbuildConfig = await stringifyConfig(
|
|
92
92
|
rsbuildDebugConfig,
|
|
@@ -405,7 +405,7 @@ async function createDevMiddleware(options, customCompiler) {
|
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
return {
|
|
408
|
-
devMiddleware: getDevMiddleware(compiler),
|
|
408
|
+
devMiddleware: await getDevMiddleware(compiler),
|
|
409
409
|
compiler
|
|
410
410
|
};
|
|
411
411
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/webpack",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.5",
|
|
4
4
|
"homepage": "https://rsbuild.dev",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"postcss": "^8.4.38",
|
|
29
29
|
"tsconfig-paths-webpack-plugin": "4.1.0",
|
|
30
30
|
"webpack": "^5.91.0",
|
|
31
|
-
"@rsbuild/core": "0.7.0-beta.
|
|
32
|
-
"@rsbuild/shared": "0.7.0-beta.
|
|
31
|
+
"@rsbuild/core": "0.7.0-beta.5",
|
|
32
|
+
"@rsbuild/shared": "0.7.0-beta.5"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "18.x",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"cli-truncate": "2.1.0",
|
|
38
38
|
"patch-console": "1.0.0",
|
|
39
39
|
"typescript": "^5.4.2",
|
|
40
|
-
"@scripts/test-helper": "0.7.0-beta.
|
|
40
|
+
"@scripts/test-helper": "0.7.0-beta.5"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public",
|