@lynx-js/rspeedy-canary 0.11.1-canary-20250903-a9207e93 → 0.11.1-canary-20250903-af2d59b6
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/CHANGELOG.md +3 -1
- package/dist/index.js +1 -0
- package/dist/src_cli_build_ts.js +1 -0
- package/dist/src_cli_dev_ts.js +1 -0
- package/dist/src_cli_inspect_ts.js +1 -0
- package/dist/src_cli_preview_ts.js +1 -0
- package/dist/src_plugins_api_plugin_ts.js +2 -2
- package/dist/src_plugins_rsdoctor_plugin_ts.js +7 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.11.1-canary-
|
|
3
|
+
## 0.11.1-canary-20250903061817-af2d59b699fcbd6a08ea52c1a9b2e4a78ea7226e
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- Disable lazyCompilation by default. ([#1647](https://github.com/lynx-family/lynx-stack/pull/1647))
|
|
8
|
+
|
|
7
9
|
- Bump Rsbuild v1.5.2 with Rspack v1.5.1. ([#1624](https://github.com/lynx-family/lynx-stack/pull/1624))
|
|
8
10
|
|
|
9
11
|
## 0.11.0
|
package/dist/index.js
CHANGED
|
@@ -318,6 +318,7 @@ const defaultDataUriLimit = 2048;
|
|
|
318
318
|
function toRsbuildConfig(config) {
|
|
319
319
|
return {
|
|
320
320
|
dev: {
|
|
321
|
+
lazyCompilation: false,
|
|
321
322
|
watchFiles: config.dev?.watchFiles,
|
|
322
323
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
323
324
|
progressBar: config.dev?.progressBar ?? true
|
package/dist/src_cli_build_ts.js
CHANGED
|
@@ -298,6 +298,7 @@ export const __webpack_modules__ = {
|
|
|
298
298
|
function toRsbuildConfig(config) {
|
|
299
299
|
return {
|
|
300
300
|
dev: {
|
|
301
|
+
lazyCompilation: false,
|
|
301
302
|
watchFiles: config.dev?.watchFiles,
|
|
302
303
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
303
304
|
progressBar: config.dev?.progressBar ?? true
|
package/dist/src_cli_dev_ts.js
CHANGED
|
@@ -290,6 +290,7 @@ export const __webpack_modules__ = {
|
|
|
290
290
|
function toRsbuildConfig(config) {
|
|
291
291
|
return {
|
|
292
292
|
dev: {
|
|
293
|
+
lazyCompilation: false,
|
|
293
294
|
watchFiles: config.dev?.watchFiles,
|
|
294
295
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
295
296
|
progressBar: config.dev?.progressBar ?? true
|
|
@@ -236,6 +236,7 @@ export const __webpack_modules__ = {
|
|
|
236
236
|
function toRsbuildConfig(config) {
|
|
237
237
|
return {
|
|
238
238
|
dev: {
|
|
239
|
+
lazyCompilation: false,
|
|
239
240
|
watchFiles: config.dev?.watchFiles,
|
|
240
241
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
241
242
|
progressBar: config.dev?.progressBar ?? true
|
|
@@ -238,6 +238,7 @@ export const __webpack_modules__ = {
|
|
|
238
238
|
function toRsbuildConfig(config) {
|
|
239
239
|
return {
|
|
240
240
|
dev: {
|
|
241
|
+
lazyCompilation: false,
|
|
241
242
|
watchFiles: config.dev?.watchFiles,
|
|
242
243
|
writeToDisk: config.dev?.writeToDisk ?? true,
|
|
243
244
|
progressBar: config.dev?.progressBar ?? true
|
|
@@ -20,11 +20,11 @@ export const __webpack_modules__ = {
|
|
|
20
20
|
config,
|
|
21
21
|
debug: _debug_js__WEBPACK_IMPORTED_MODULE_1__.Yz,
|
|
22
22
|
async exit (code) {
|
|
23
|
-
const { exit } = await
|
|
23
|
+
const { exit } = await __webpack_require__.e("src_cli_exit_ts").then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
|
|
24
24
|
return exit(code);
|
|
25
25
|
},
|
|
26
26
|
logger: _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger,
|
|
27
|
-
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.
|
|
27
|
+
version: _version_js__WEBPACK_IMPORTED_MODULE_2__.rE
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
};
|
|
@@ -8,8 +8,10 @@ export const __webpack_modules__ = {
|
|
|
8
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
pluginRsdoctor: ()=>pluginRsdoctor
|
|
10
10
|
});
|
|
11
|
-
var
|
|
12
|
-
|
|
11
|
+
var core_ = __webpack_require__("@rsbuild/core");
|
|
12
|
+
function isCI() {
|
|
13
|
+
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
14
|
+
}
|
|
13
15
|
function pluginRsdoctor(options) {
|
|
14
16
|
return {
|
|
15
17
|
name: 'lynx:rsbuild:rsdoctor',
|
|
@@ -26,7 +28,7 @@ export const __webpack_modules__ = {
|
|
|
26
28
|
if (registered) continue;
|
|
27
29
|
config.plugins ??= [];
|
|
28
30
|
const defaultOptions = {
|
|
29
|
-
disableClientServer: (
|
|
31
|
+
disableClientServer: isCI(),
|
|
30
32
|
supports: {
|
|
31
33
|
banner: true
|
|
32
34
|
},
|
|
@@ -41,20 +43,12 @@ export const __webpack_modules__ = {
|
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
};
|
|
44
|
-
config.plugins.push(new RsdoctorRspackPlugin((0,
|
|
46
|
+
config.plugins.push(new RsdoctorRspackPlugin((0, core_.mergeRsbuildConfig)(defaultOptions, options)));
|
|
45
47
|
}
|
|
46
|
-
|
|
48
|
+
core_.logger.info("Rsdoctor is enabled.");
|
|
47
49
|
});
|
|
48
50
|
}
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
|
-
},
|
|
52
|
-
"./src/utils/is-ci.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
53
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
J: ()=>isCI
|
|
55
|
-
});
|
|
56
|
-
function isCI() {
|
|
57
|
-
return !!process.env['CI'] && 'false' !== process.env['CI'];
|
|
58
|
-
}
|
|
59
53
|
}
|
|
60
54
|
};
|