@rspack/cli 1.6.8 → 1.7.0-beta.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/0~274.js +1 -1
- package/dist/1~274.mjs +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +3 -3
- package/package.json +4 -4
package/dist/0~274.js
CHANGED
|
@@ -3,7 +3,7 @@ exports.ids = [
|
|
|
3
3
|
"274"
|
|
4
4
|
];
|
|
5
5
|
exports.modules = {
|
|
6
|
-
"./src/utils/profile.ts" (
|
|
6
|
+
"./src/utils/profile.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
applyProfile: ()=>applyProfile
|
|
9
9
|
});
|
package/dist/1~274.mjs
CHANGED
|
@@ -3,7 +3,7 @@ export const __rspack_esm_ids = [
|
|
|
3
3
|
"274"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/utils/profile.ts" (
|
|
6
|
+
"./src/utils/profile.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
applyProfile: ()=>applyProfile
|
|
9
9
|
});
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __rslib_import_meta_url__ = /*#__PURE__*/ function() {
|
|
2
|
-
return
|
|
2
|
+
return "u" < typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
|
|
3
3
|
}();
|
|
4
4
|
var __webpack_modules__ = {
|
|
5
5
|
"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js" (module) {
|
|
@@ -129,7 +129,7 @@ var __webpack_modules__ = {
|
|
|
129
129
|
}
|
|
130
130
|
exports1.addHook = addHook;
|
|
131
131
|
},
|
|
132
|
-
"./src/utils/rspackCore.ts" (
|
|
132
|
+
"./src/utils/rspackCore.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
133
133
|
"use strict";
|
|
134
134
|
__webpack_require__.d(__webpack_exports__, {
|
|
135
135
|
Z: ()=>rspack
|
|
@@ -201,7 +201,7 @@ __webpack_require__.m = __webpack_modules__;
|
|
|
201
201
|
})();
|
|
202
202
|
(()=>{
|
|
203
203
|
__webpack_require__.r = (exports1)=>{
|
|
204
|
-
if (
|
|
204
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
205
205
|
value: 'Module'
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -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.
|
|
1190
|
+
program.version("1.7.0-beta.1");
|
|
1191
1191
|
}
|
|
1192
1192
|
async createCompiler(options, rspackCommand, callback) {
|
|
1193
1193
|
let { config, pathMap } = await this.loadConfig(options);
|
package/dist/index.mjs
CHANGED
|
@@ -133,7 +133,7 @@ var __webpack_modules__ = {
|
|
|
133
133
|
}
|
|
134
134
|
exports.addHook = addHook;
|
|
135
135
|
},
|
|
136
|
-
"./src/utils/rspackCore.ts" (
|
|
136
|
+
"./src/utils/rspackCore.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
137
137
|
__webpack_require__.d(__webpack_exports__, {
|
|
138
138
|
Z: ()=>rspack
|
|
139
139
|
});
|
|
@@ -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.
|
|
1177
|
+
program.version("1.7.0-beta.1");
|
|
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/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-beta.1",
|
|
4
4
|
"description": "CLI for rspack",
|
|
5
5
|
"homepage": "https://rspack.rs",
|
|
6
6
|
"bugs": "https://github.com/web-infra-dev/rspack/issues",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"webpack-bundle-analyzer": "4.10.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@rslib/core": "0.18.
|
|
37
|
+
"@rslib/core": "0.18.5",
|
|
38
38
|
"@types/webpack-bundle-analyzer": "^4.7.0",
|
|
39
39
|
"cac": "^6.7.14",
|
|
40
40
|
"concat-stream": "^2.0.0",
|
|
@@ -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/
|
|
48
|
-
"@rspack/
|
|
47
|
+
"@rspack/test-tools": "1.7.0-beta.1",
|
|
48
|
+
"@rspack/core": "1.7.0-beta.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@rspack/core": "^1.0.0-alpha || ^1.x"
|