@rspack-canary/cli 1.6.8-canary-56154ad4-20251213174616 → 1.6.8-canary-02b3377e-20251215174244
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -952,7 +952,7 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
952
952
|
}
|
|
953
953
|
const devServerOptions = compilerForDevServer.options.devServer ??= {};
|
|
954
954
|
const { setupMiddlewares } = devServerOptions;
|
|
955
|
-
const lazyCompileMiddleware = rspackCore.Z.
|
|
955
|
+
const lazyCompileMiddleware = rspackCore.Z.lazyCompilationMiddleware(compiler);
|
|
956
956
|
devServerOptions.setupMiddlewares = (middlewares, server)=>{
|
|
957
957
|
let finalMiddlewares = middlewares;
|
|
958
958
|
if (setupMiddlewares) finalMiddlewares = setupMiddlewares(finalMiddlewares, server);
|
|
@@ -1187,7 +1187,7 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
1187
1187
|
this.colors = this.createColors();
|
|
1188
1188
|
this.program = program;
|
|
1189
1189
|
program.help();
|
|
1190
|
-
program.version("1.6.8-canary-
|
|
1190
|
+
program.version("1.6.8-canary-02b3377e-20251215174244");
|
|
1191
1191
|
}
|
|
1192
1192
|
async createCompiler(options, rspackCommand, callback) {
|
|
1193
1193
|
let { config, pathMap } = await this.loadConfig(options);
|
package/dist/index.mjs
CHANGED
|
@@ -948,7 +948,7 @@ class ServeCommand {
|
|
|
948
948
|
}
|
|
949
949
|
const devServerOptions = compilerForDevServer.options.devServer ??= {};
|
|
950
950
|
const { setupMiddlewares } = devServerOptions;
|
|
951
|
-
const lazyCompileMiddleware = rspackCore.Z.
|
|
951
|
+
const lazyCompileMiddleware = rspackCore.Z.lazyCompilationMiddleware(compiler);
|
|
952
952
|
devServerOptions.setupMiddlewares = (middlewares, server)=>{
|
|
953
953
|
let finalMiddlewares = middlewares;
|
|
954
954
|
if (setupMiddlewares) finalMiddlewares = setupMiddlewares(finalMiddlewares, server);
|
|
@@ -1174,7 +1174,7 @@ class RspackCLI {
|
|
|
1174
1174
|
this.colors = this.createColors();
|
|
1175
1175
|
this.program = program;
|
|
1176
1176
|
program.help();
|
|
1177
|
-
program.version("1.6.8-canary-
|
|
1177
|
+
program.version("1.6.8-canary-02b3377e-20251215174244");
|
|
1178
1178
|
}
|
|
1179
1179
|
async createCompiler(options, rspackCommand, callback) {
|
|
1180
1180
|
let { config, pathMap } = await this.loadConfig(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/cli",
|
|
3
|
-
"version": "1.6.8-canary-
|
|
3
|
+
"version": "1.6.8-canary-02b3377e-20251215174244",
|
|
4
4
|
"description": "CLI for rspack",
|
|
5
5
|
"homepage": "https://rspack.rs",
|
|
6
6
|
"bugs": "https://github.com/web-infra-dev/rspack/issues",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"pirates": "^4.0.7",
|
|
45
45
|
"ts-node": "^10.9.2",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
|
-
"@rspack/core": "npm:@rspack-canary/core@1.6.8-canary-
|
|
48
|
-
"@rspack/test-tools": "npm:@rspack-canary/test-tools@1.6.8-canary-
|
|
47
|
+
"@rspack/core": "npm:@rspack-canary/core@1.6.8-canary-02b3377e-20251215174244",
|
|
48
|
+
"@rspack/test-tools": "npm:@rspack-canary/test-tools@1.6.8-canary-02b3377e-20251215174244"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@rspack/core": "^1.0.0-alpha || ^1.x"
|