@lynx-js/rspeedy-canary 0.10.6-canary-20250808-fd1b76c2 → 0.10.6-canary-20250808-0232eb7e

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 CHANGED
@@ -1,17 +1,21 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.10.6-canary-20250808091425-fd1b76c2f51a5537037ab20d874c5adb0a496201
3
+ ## 0.10.6-canary-20250808125855-0232eb7e58c3d51c830cd5686714672b4589432f
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Remove the experimental `provider` option. ([#1432](https://github.com/lynx-family/lynx-stack/pull/1432))
8
8
 
9
+ - Add `output.filename.wasm` and `output.filename.assets` options. ([#1449](https://github.com/lynx-family/lynx-stack/pull/1449))
10
+
9
11
  - fix deno compatibility ([#1412](https://github.com/lynx-family/lynx-stack/pull/1412))
10
12
 
11
13
  - Should call the `api.onCloseBuild` hook after the build finished. ([#1446](https://github.com/lynx-family/lynx-stack/pull/1446))
12
14
 
13
15
  - Bump Rsbuild v1.4.15. ([#1423](https://github.com/lynx-family/lynx-stack/pull/1423))
14
16
 
17
+ - Support using function in `output.filename.*`. ([#1449](https://github.com/lynx-family/lynx-stack/pull/1449))
18
+
15
19
  ## 0.10.5
16
20
 
17
21
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1434,8 +1434,31 @@ export declare interface Filename {
1434
1434
  *
1435
1435
  * - Development: `'[name].js'`
1436
1436
  * - Production: `'[name].[contenthash:8].js'`
1437
+ *
1438
+ * @example
1439
+ *
1440
+ * - Using a function to dynamically set the filename based on the file information:
1441
+ *
1442
+ * ```js
1443
+ * import { defineConfig } from '@lynx-js/rspeedy'
1444
+ *
1445
+ * export default defineConfig({
1446
+ * output: {
1447
+ * filename: {
1448
+ * js: (pathData, assetInfo) => {
1449
+ * console.log(pathData); // You can check the contents of pathData here
1450
+ *
1451
+ * if (pathData.chunk?.name === 'index') {
1452
+ * return isProd ? '[name].[contenthash:8].js' : '[name].js';
1453
+ * }
1454
+ * return '/some-path/[name].js';
1455
+ * },
1456
+ * },
1457
+ * },
1458
+ * })
1459
+ * ```
1437
1460
  */
1438
- js?: string | undefined;
1461
+ js?: Rspack.Filename | undefined;
1439
1462
  /**
1440
1463
  * The name of the CSS files.
1441
1464
  *
@@ -1444,8 +1467,31 @@ export declare interface Filename {
1444
1467
  * Default values:
1445
1468
  *
1446
1469
  * - `'[name].css'`
1470
+ *
1471
+ * @example
1472
+ *
1473
+ * - Using a function to dynamically set the filename based on the file information:
1474
+ *
1475
+ * ```js
1476
+ * import { defineConfig } from '@lynx-js/rspeedy'
1477
+ *
1478
+ * export default defineConfig({
1479
+ * output: {
1480
+ * filename: {
1481
+ * css: (pathData, assetInfo) => {
1482
+ * console.log(pathData); // You can check the contents of pathData here
1483
+ *
1484
+ * if (pathData.chunk?.name === 'index') {
1485
+ * return isProd ? '[name].[contenthash:8].css' : '[name].css';
1486
+ * }
1487
+ * return '/some-path/[name].css';
1488
+ * },
1489
+ * },
1490
+ * },
1491
+ * })
1492
+ * ```
1447
1493
  */
1448
- css?: string | undefined;
1494
+ css?: Rspack.CssFilename | undefined;
1449
1495
  /**
1450
1496
  * The name of the SVG images.
1451
1497
  *
@@ -1455,7 +1501,7 @@ export declare interface Filename {
1455
1501
  *
1456
1502
  * - `'[name].[contenthash:8].svg'`
1457
1503
  */
1458
- svg?: string | undefined;
1504
+ svg?: Rspack.AssetModuleFilename | undefined;
1459
1505
  /**
1460
1506
  * The name of the font files.
1461
1507
  *
@@ -1465,7 +1511,7 @@ export declare interface Filename {
1465
1511
  *
1466
1512
  * - `'[name].[contenthash:8][ext]'`
1467
1513
  */
1468
- font?: string | undefined;
1514
+ font?: Rspack.AssetModuleFilename | undefined;
1469
1515
  /**
1470
1516
  * The name of non-SVG images.
1471
1517
  *
@@ -1475,7 +1521,7 @@ export declare interface Filename {
1475
1521
  *
1476
1522
  * - `'[name].[contenthash:8][ext]'`
1477
1523
  */
1478
- image?: string | undefined;
1524
+ image?: Rspack.AssetModuleFilename | undefined;
1479
1525
  /**
1480
1526
  * The name of media assets, such as video.
1481
1527
  *
@@ -1485,7 +1531,27 @@ export declare interface Filename {
1485
1531
  *
1486
1532
  * - `'[name].[contenthash:8][ext]'`
1487
1533
  */
1488
- media?: string | undefined;
1534
+ media?: Rspack.AssetModuleFilename | undefined;
1535
+ /**
1536
+ * The name of WebAssembly files.
1537
+ *
1538
+ * @remarks
1539
+ *
1540
+ * Default values:
1541
+ *
1542
+ * - `'[hash].module.wasm'`
1543
+ */
1544
+ wasm?: Rspack.WebassemblyModuleFilename;
1545
+ /**
1546
+ * The name of other assets, except for above (image, svg, font, html, wasm...)
1547
+ *
1548
+ * @remarks
1549
+ *
1550
+ * Default values:
1551
+ *
1552
+ * - `'[name].[contenthash:8][ext]'`
1553
+ */
1554
+ assets?: Rspack.AssetModuleFilename;
1489
1555
  }
1490
1556
 
1491
1557
  /**
@@ -1490,9 +1490,9 @@ export const __webpack_modules__ = {
1490
1490
  if (void 0 === value) return true;
1491
1491
  return "string" == typeof value || "boolean" == typeof value;
1492
1492
  });
1493
- const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6633"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1493
+ const _io41 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@923"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1494
1494
  if ([
1495
- "__@toStringTag@6633"
1495
+ "__@toStringTag@923"
1496
1496
  ].some((prop)=>key === prop)) return true;
1497
1497
  const value = input[key];
1498
1498
  if (void 0 === value) return true;
@@ -3097,14 +3097,14 @@ export const __webpack_modules__ = {
3097
3097
  if (void 0 === value) return true;
3098
3098
  return false;
3099
3099
  })));
3100
- const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@6633"] && Object.keys(input).every((key)=>{
3100
+ const _io149 = (input, _exceptionable = true)=>"number" == typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" == typeof input.byteLength && "number" == typeof input.byteOffset && "number" == typeof input.length && "Uint8Array" === input["__@toStringTag@923"] && Object.keys(input).every((key)=>{
3101
3101
  if ([
3102
3102
  "BYTES_PER_ELEMENT",
3103
3103
  "buffer",
3104
3104
  "byteLength",
3105
3105
  "byteOffset",
3106
3106
  "length",
3107
- "__@toStringTag@6633"
3107
+ "__@toStringTag@923"
3108
3108
  ].some((prop)=>key === prop)) return true;
3109
3109
  const value = input[key];
3110
3110
  if (void 0 === value) return true;
@@ -6356,9 +6356,9 @@ export const __webpack_modules__ = {
6356
6356
  if (void 0 === value) return true;
6357
6357
  return false;
6358
6358
  }));
6359
- const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6633"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6359
+ const _io406 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@923"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6360
6360
  if ([
6361
- "__@toStringTag@6633"
6361
+ "__@toStringTag@923"
6362
6362
  ].some((prop)=>key === prop)) return true;
6363
6363
  const value = input[key];
6364
6364
  if (void 0 === value) return true;
@@ -6415,7 +6415,7 @@ export const __webpack_modules__ = {
6415
6415
  if (void 0 === value) return true;
6416
6416
  return false;
6417
6417
  }));
6418
- const _io410 = (input, _exceptionable = true)=>(void 0 === input.bundle || "string" == typeof input.bundle) && (void 0 === input.template || "string" == typeof input.template) && (void 0 === input.js || "string" == typeof input.js) && (void 0 === input.css || "string" == typeof input.css) && (void 0 === input.svg || "string" == typeof input.svg) && (void 0 === input.font || "string" == typeof input.font) && (void 0 === input.image || "string" == typeof input.image) && (void 0 === input.media || "string" == typeof input.media) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
6418
+ const _io410 = (input, _exceptionable = true)=>(void 0 === input.bundle || "string" == typeof input.bundle) && (void 0 === input.template || "string" == typeof input.template) && null !== input.js && (void 0 === input.js || "function" == typeof input.js || "string" == typeof input.js) && null !== input.css && (void 0 === input.css || "function" == typeof input.css || "string" == typeof input.css) && null !== input.svg && (void 0 === input.svg || "function" == typeof input.svg || "string" == typeof input.svg) && null !== input.font && (void 0 === input.font || "function" == typeof input.font || "string" == typeof input.font) && null !== input.image && (void 0 === input.image || "function" == typeof input.image || "string" == typeof input.image) && null !== input.media && (void 0 === input.media || "function" == typeof input.media || "string" == typeof input.media) && (void 0 === input.wasm || "string" == typeof input.wasm) && null !== input.assets && (void 0 === input.assets || "function" == typeof input.assets || "string" == typeof input.assets) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
6419
6419
  if ([
6420
6420
  "bundle",
6421
6421
  "template",
@@ -6424,7 +6424,9 @@ export const __webpack_modules__ = {
6424
6424
  "svg",
6425
6425
  "font",
6426
6426
  "image",
6427
- "media"
6427
+ "media",
6428
+ "wasm",
6429
+ "assets"
6428
6430
  ].some((prop)=>key === prop)) return true;
6429
6431
  const value = input[key];
6430
6432
  if (void 0 === value) return true;
@@ -6948,18 +6950,18 @@ export const __webpack_modules__ = {
6948
6950
  return false;
6949
6951
  })();
6950
6952
  const _iu1 = (input, _exceptionable = true)=>(()=>{
6951
- if (void 0 !== input["__@toStringTag@6633"]) return _io149(input, _exceptionable);
6953
+ if (void 0 !== input["__@toStringTag@923"]) return _io149(input, _exceptionable);
6952
6954
  if (void 0 !== input.pem) return _io150(input, _exceptionable);
6953
6955
  return false;
6954
6956
  })();
6955
6957
  const _iu2 = (input, _exceptionable = true)=>(()=>{
6956
- if (void 0 !== input["__@toStringTag@6633"]) return _io149(input, _exceptionable);
6958
+ if (void 0 !== input["__@toStringTag@923"]) return _io149(input, _exceptionable);
6957
6959
  if (void 0 !== input.buf) return _io151(input, _exceptionable);
6958
6960
  return false;
6959
6961
  })();
6960
6962
  const _iu3 = (input, _exceptionable = true)=>(()=>{
6961
6963
  if (void 0 !== input.name) return _io405(input, _exceptionable);
6962
- if (void 0 !== input["__@toStringTag@6633"]) return _io406(input, _exceptionable);
6964
+ if (void 0 !== input["__@toStringTag@923"]) return _io406(input, _exceptionable);
6963
6965
  return false;
6964
6966
  })();
6965
6967
  const _iu4 = (input, _exceptionable = true)=>(()=>{
@@ -9544,14 +9546,14 @@ export const __webpack_modules__ = {
9544
9546
  }).every((flag)=>flag)
9545
9547
  ].every((flag)=>flag);
9546
9548
  const _vo41 = (input, _path, _exceptionable = true)=>[
9547
- "string" == typeof input["__@toStringTag@6633"] || _report(_exceptionable, {
9548
- path: _path + "[\"__@toStringTag@6633\"]",
9549
+ "string" == typeof input["__@toStringTag@923"] || _report(_exceptionable, {
9550
+ path: _path + "[\"__@toStringTag@923\"]",
9549
9551
  expected: "string",
9550
- value: input["__@toStringTag@6633"]
9552
+ value: input["__@toStringTag@923"]
9551
9553
  }),
9552
9554
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
9553
9555
  if ([
9554
- "__@toStringTag@6633"
9556
+ "__@toStringTag@923"
9555
9557
  ].some((prop)=>key === prop)) return true;
9556
9558
  const value = input[key];
9557
9559
  if (void 0 === value) return true;
@@ -18539,10 +18541,10 @@ export const __webpack_modules__ = {
18539
18541
  expected: "number",
18540
18542
  value: input.length
18541
18543
  }),
18542
- "Uint8Array" === input["__@toStringTag@6633"] || _report(_exceptionable, {
18543
- path: _path + "[\"__@toStringTag@6633\"]",
18544
+ "Uint8Array" === input["__@toStringTag@923"] || _report(_exceptionable, {
18545
+ path: _path + "[\"__@toStringTag@923\"]",
18544
18546
  expected: "\"Uint8Array\"",
18545
- value: input["__@toStringTag@6633"]
18547
+ value: input["__@toStringTag@923"]
18546
18548
  }),
18547
18549
  false === _exceptionable || Object.keys(input).map((key)=>{
18548
18550
  if ([
@@ -18551,7 +18553,7 @@ export const __webpack_modules__ = {
18551
18553
  "byteLength",
18552
18554
  "byteOffset",
18553
18555
  "length",
18554
- "__@toStringTag@6633"
18556
+ "__@toStringTag@923"
18555
18557
  ].some((prop)=>key === prop)) return true;
18556
18558
  const value = input[key];
18557
18559
  if (void 0 === value) return true;
@@ -36604,14 +36606,14 @@ export const __webpack_modules__ = {
36604
36606
  }).every((flag)=>flag)
36605
36607
  ].every((flag)=>flag);
36606
36608
  const _vo406 = (input, _path, _exceptionable = true)=>[
36607
- "string" == typeof input["__@toStringTag@6633"] || _report(_exceptionable, {
36608
- path: _path + "[\"__@toStringTag@6633\"]",
36609
+ "string" == typeof input["__@toStringTag@923"] || _report(_exceptionable, {
36610
+ path: _path + "[\"__@toStringTag@923\"]",
36609
36611
  expected: "string",
36610
- value: input["__@toStringTag@6633"]
36612
+ value: input["__@toStringTag@923"]
36611
36613
  }),
36612
36614
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
36613
36615
  if ([
36614
- "__@toStringTag@6633"
36616
+ "__@toStringTag@923"
36615
36617
  ].some((prop)=>key === prop)) return true;
36616
36618
  const value = input[key];
36617
36619
  if (void 0 === value) return true;
@@ -36940,36 +36942,74 @@ export const __webpack_modules__ = {
36940
36942
  expected: "(string | undefined)",
36941
36943
  value: input.template
36942
36944
  }),
36943
- void 0 === input.js || "string" == typeof input.js || _report(_exceptionable, {
36945
+ (null !== input.js || _report(_exceptionable, {
36944
36946
  path: _path + ".js",
36945
36947
  expected: "(string | undefined)",
36946
36948
  value: input.js
36947
- }),
36948
- void 0 === input.css || "string" == typeof input.css || _report(_exceptionable, {
36949
+ })) && (void 0 === input.js || "function" == typeof input.js || "string" == typeof input.js || _report(_exceptionable, {
36950
+ path: _path + ".js",
36951
+ expected: "(string | undefined)",
36952
+ value: input.js
36953
+ })),
36954
+ (null !== input.css || _report(_exceptionable, {
36949
36955
  path: _path + ".css",
36950
36956
  expected: "(string | undefined)",
36951
36957
  value: input.css
36952
- }),
36953
- void 0 === input.svg || "string" == typeof input.svg || _report(_exceptionable, {
36958
+ })) && (void 0 === input.css || "function" == typeof input.css || "string" == typeof input.css || _report(_exceptionable, {
36959
+ path: _path + ".css",
36960
+ expected: "(string | undefined)",
36961
+ value: input.css
36962
+ })),
36963
+ (null !== input.svg || _report(_exceptionable, {
36954
36964
  path: _path + ".svg",
36955
36965
  expected: "(string | undefined)",
36956
36966
  value: input.svg
36957
- }),
36958
- void 0 === input.font || "string" == typeof input.font || _report(_exceptionable, {
36967
+ })) && (void 0 === input.svg || "function" == typeof input.svg || "string" == typeof input.svg || _report(_exceptionable, {
36968
+ path: _path + ".svg",
36969
+ expected: "(string | undefined)",
36970
+ value: input.svg
36971
+ })),
36972
+ (null !== input.font || _report(_exceptionable, {
36959
36973
  path: _path + ".font",
36960
36974
  expected: "(string | undefined)",
36961
36975
  value: input.font
36962
- }),
36963
- void 0 === input.image || "string" == typeof input.image || _report(_exceptionable, {
36976
+ })) && (void 0 === input.font || "function" == typeof input.font || "string" == typeof input.font || _report(_exceptionable, {
36977
+ path: _path + ".font",
36978
+ expected: "(string | undefined)",
36979
+ value: input.font
36980
+ })),
36981
+ (null !== input.image || _report(_exceptionable, {
36964
36982
  path: _path + ".image",
36965
36983
  expected: "(string | undefined)",
36966
36984
  value: input.image
36967
- }),
36968
- void 0 === input.media || "string" == typeof input.media || _report(_exceptionable, {
36985
+ })) && (void 0 === input.image || "function" == typeof input.image || "string" == typeof input.image || _report(_exceptionable, {
36986
+ path: _path + ".image",
36987
+ expected: "(string | undefined)",
36988
+ value: input.image
36989
+ })),
36990
+ (null !== input.media || _report(_exceptionable, {
36991
+ path: _path + ".media",
36992
+ expected: "(string | undefined)",
36993
+ value: input.media
36994
+ })) && (void 0 === input.media || "function" == typeof input.media || "string" == typeof input.media || _report(_exceptionable, {
36969
36995
  path: _path + ".media",
36970
36996
  expected: "(string | undefined)",
36971
36997
  value: input.media
36998
+ })),
36999
+ void 0 === input.wasm || "string" == typeof input.wasm || _report(_exceptionable, {
37000
+ path: _path + ".wasm",
37001
+ expected: "(string | undefined)",
37002
+ value: input.wasm
36972
37003
  }),
37004
+ (null !== input.assets || _report(_exceptionable, {
37005
+ path: _path + ".assets",
37006
+ expected: "(string | undefined)",
37007
+ value: input.assets
37008
+ })) && (void 0 === input.assets || "function" == typeof input.assets || "string" == typeof input.assets || _report(_exceptionable, {
37009
+ path: _path + ".assets",
37010
+ expected: "(string | undefined)",
37011
+ value: input.assets
37012
+ })),
36973
37013
  0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
36974
37014
  if ([
36975
37015
  "bundle",
@@ -36979,7 +37019,9 @@ export const __webpack_modules__ = {
36979
37019
  "svg",
36980
37020
  "font",
36981
37021
  "image",
36982
- "media"
37022
+ "media",
37023
+ "wasm",
37024
+ "assets"
36983
37025
  ].some((prop)=>key === prop)) return true;
36984
37026
  const value = input[key];
36985
37027
  if (void 0 === value) return true;
@@ -39589,7 +39631,7 @@ export const __webpack_modules__ = {
39589
39631
  });
39590
39632
  })();
39591
39633
  const _vu1 = (input, _path, _exceptionable = true)=>(()=>{
39592
- if (void 0 !== input["__@toStringTag@6633"]) return _vo149(input, _path, _exceptionable);
39634
+ if (void 0 !== input["__@toStringTag@923"]) return _vo149(input, _path, _exceptionable);
39593
39635
  if (void 0 !== input.pem) return _vo150(input, _path, _exceptionable);
39594
39636
  return _report(_exceptionable, {
39595
39637
  path: _path,
@@ -39598,7 +39640,7 @@ export const __webpack_modules__ = {
39598
39640
  });
39599
39641
  })();
39600
39642
  const _vu2 = (input, _path, _exceptionable = true)=>(()=>{
39601
- if (void 0 !== input["__@toStringTag@6633"]) return _vo149(input, _path, _exceptionable);
39643
+ if (void 0 !== input["__@toStringTag@923"]) return _vo149(input, _path, _exceptionable);
39602
39644
  if (void 0 !== input.buf) return _vo151(input, _path, _exceptionable);
39603
39645
  return _report(_exceptionable, {
39604
39646
  path: _path,
@@ -39608,7 +39650,7 @@ export const __webpack_modules__ = {
39608
39650
  })();
39609
39651
  const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
39610
39652
  if (void 0 !== input.name) return _vo405(input, _path, _exceptionable);
39611
- if (void 0 !== input["__@toStringTag@6633"]) return _vo406(input, _path, _exceptionable);
39653
+ if (void 0 !== input["__@toStringTag@923"]) return _vo406(input, _path, _exceptionable);
39612
39654
  return _report(_exceptionable, {
39613
39655
  path: _path,
39614
39656
  expected: "(LooseRsbuildPlugin | RsbuildPlugins | LooseRsbuildPlugin | Falsy)",
@@ -19,11 +19,11 @@ export const __webpack_modules__ = {
19
19
  config,
20
20
  debug: _debug_js__WEBPACK_IMPORTED_MODULE_1__.fF,
21
21
  async exit (code) {
22
- const { exit } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
22
+ const { exit } = await __webpack_require__.e("src_cli_exit_ts").then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
23
23
  return exit(code);
24
24
  },
25
25
  logger: _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger,
26
- version: _version_js__WEBPACK_IMPORTED_MODULE_2__.version
26
+ version: _version_js__WEBPACK_IMPORTED_MODULE_2__.i8
27
27
  });
28
28
  }
29
29
  };
@@ -7,8 +7,10 @@ export const __webpack_modules__ = {
7
7
  __webpack_require__.d(__webpack_exports__, {
8
8
  pluginRsdoctor: ()=>pluginRsdoctor
9
9
  });
10
- var _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@rsbuild/core");
11
- var _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/utils/is-ci.ts");
10
+ var core_ = __webpack_require__("@rsbuild/core");
11
+ function isCI() {
12
+ return !!process.env['CI'] && 'false' !== process.env['CI'];
13
+ }
12
14
  function pluginRsdoctor(options) {
13
15
  return {
14
16
  name: 'lynx:rsbuild:rsdoctor',
@@ -25,7 +27,7 @@ export const __webpack_modules__ = {
25
27
  if (registered) continue;
26
28
  config.plugins ??= [];
27
29
  const defaultOptions = {
28
- disableClientServer: (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__.y)(),
30
+ disableClientServer: isCI(),
29
31
  supports: {
30
32
  banner: true
31
33
  },
@@ -40,20 +42,12 @@ export const __webpack_modules__ = {
40
42
  }
41
43
  }
42
44
  };
43
- config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.mergeRsbuildConfig)(defaultOptions, options)));
45
+ config.plugins.push(new RsdoctorRspackPlugin((0, core_.mergeRsbuildConfig)(defaultOptions, options)));
44
46
  }
45
- _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.info("Rsdoctor is enabled.");
47
+ core_.logger.info("Rsdoctor is enabled.");
46
48
  });
47
49
  }
48
50
  };
49
51
  }
50
- },
51
- "./src/utils/is-ci.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
52
- __webpack_require__.d(__webpack_exports__, {
53
- y: ()=>isCI
54
- });
55
- function isCI() {
56
- return !!process.env['CI'] && 'false' !== process.env['CI'];
57
- }
58
52
  }
59
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/rspeedy-canary",
3
- "version": "0.10.6-canary-20250808-fd1b76c2",
3
+ "version": "0.10.6-canary-20250808-0232eb7e",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",