@lynx-js/rspeedy-canary 0.9.9-canary-20250605-2d36a78f → 0.9.9-canary-20250605-e931e567

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,6 +1,6 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.9.9-canary-20250605152403-2d36a78f2628cc8066f2a2b505c1338b683495ec
3
+ ## 0.9.9-canary-20250605152413-e931e567a162ee83aeb570aa9b714b8d435f69a7
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/cli/start.js CHANGED
@@ -1,7 +1,7 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
2
- import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
3
- import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
4
- import * as __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__ from "@rsbuild/core";
1
+ import { existsSync, readFileSync } from "node:fs";
2
+ import { dirname, join } from "node:path";
3
+ import { pathToFileURL } from "node:url";
4
+ import { logger } from "@rsbuild/core";
5
5
  var __webpack_modules__ = {
6
6
  "../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": function(module) {
7
7
  let p = process || {}, argv = p.argv || [], env = p.env || {};
@@ -115,20 +115,20 @@ const label = picocolors_default().bgCyan('lynx');
115
115
  const debug = (message)=>{
116
116
  if (isDebug()) {
117
117
  const result = 'string' == typeof message ? message : message();
118
- __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.logger.level = 'verbose';
119
- __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.logger.debug(`${label} ${result}`);
118
+ logger.level = 'verbose';
119
+ logger.debug(`${label} ${result}`);
120
120
  }
121
121
  };
122
122
  function tryGetPackageFolderFor(resolvedFileOrFolderPath) {
123
- if (__WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__.existsSync(__WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.join(resolvedFileOrFolderPath, 'package.json'))) return resolvedFileOrFolderPath;
124
- const parentFolder = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.dirname(resolvedFileOrFolderPath);
123
+ if (existsSync(join(resolvedFileOrFolderPath, 'package.json'))) return resolvedFileOrFolderPath;
124
+ const parentFolder = dirname(resolvedFileOrFolderPath);
125
125
  if (!parentFolder || parentFolder === resolvedFileOrFolderPath) return;
126
126
  return tryGetPackageFolderFor(parentFolder);
127
127
  }
128
128
  function tryStartLocalRspeedy(root = process.cwd()) {
129
129
  if (process.argv.includes("--unmanaged")) {
130
- __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.logger.info(`Bypassing the Rspeedy version selector because ${JSON.stringify("--unmanaged")} was specified.`);
131
- __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.logger.info();
130
+ logger.info(`Bypassing the Rspeedy version selector because ${JSON.stringify("--unmanaged")} was specified.`);
131
+ logger.info();
132
132
  return false;
133
133
  }
134
134
  debug(`Searching for a locally installed version of Rspeedy. Use the ${JSON.stringify("--unmanaged")} flag if you want to avoid this.`);
@@ -138,8 +138,8 @@ function tryStartLocalRspeedy(root = process.cwd()) {
138
138
  let rspeedyEntryPoint;
139
139
  let packageJson;
140
140
  try {
141
- const packageJsonPath = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.join(projectFolder, 'package.json');
142
- const packageJsonContent = __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__.readFileSync(packageJsonPath).toString();
141
+ const packageJsonPath = join(projectFolder, 'package.json');
142
+ const packageJsonContent = readFileSync(packageJsonPath).toString();
143
143
  try {
144
144
  packageJson = JSON.parse(packageJsonContent);
145
145
  } catch (error) {
@@ -149,12 +149,12 @@ function tryStartLocalRspeedy(root = process.cwd()) {
149
149
  debug('The project does not have a dependency on Rspeedy');
150
150
  return false;
151
151
  }
152
- const rspeedyFolder = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.join(projectFolder, 'node_modules', ..."@lynx-js/rspeedy".split('/'));
153
- rspeedyEntryPoint = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.join(rspeedyFolder, 'dist', 'cli', 'main.js');
154
- if (!__WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__.existsSync(rspeedyEntryPoint)) {
152
+ const rspeedyFolder = join(projectFolder, 'node_modules', ..."@lynx-js/rspeedy".split('/'));
153
+ rspeedyEntryPoint = join(rspeedyFolder, 'dist', 'cli', 'main.js');
154
+ if (!existsSync(rspeedyEntryPoint)) {
155
155
  debug(`Unable to find rspeedy entry point: ${rspeedyEntryPoint}, trying the legacy location.`);
156
- rspeedyEntryPoint = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.join(rspeedyFolder, 'lib', 'cli', 'main.js');
157
- if (!__WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__.existsSync(rspeedyEntryPoint)) {
156
+ rspeedyEntryPoint = join(rspeedyFolder, 'lib', 'cli', 'main.js');
157
+ if (!existsSync(rspeedyEntryPoint)) {
158
158
  debug(`Unable to find rspeedy entry point: ${rspeedyEntryPoint}, using the unmanaged version.`);
159
159
  return false;
160
160
  }
@@ -163,7 +163,7 @@ function tryStartLocalRspeedy(root = process.cwd()) {
163
163
  throw new Error(`Error probing for local rspeedy version: ${error.message}`);
164
164
  }
165
165
  debug(`found rspeedy entry point at ${rspeedyEntryPoint}`);
166
- return import((0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.pathToFileURL)(rspeedyEntryPoint).toString()).then(({ main })=>main(process.argv));
166
+ return import(pathToFileURL(rspeedyEntryPoint).toString()).then(({ main })=>main(process.argv));
167
167
  }
168
168
  debug(`no project folder found from ${process.cwd()}`);
169
169
  return false;
package/dist/index.js CHANGED
@@ -4,9 +4,9 @@ import * as __WEBPACK_EXTERNAL_MODULE_node_fs_promises_153e37e0__ from "node:fs/
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__ from "node:module";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__ from "node:process";
7
- import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
8
- import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
9
- import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_rspeedy_register_78d0d330__ from "@lynx-js/rspeedy/register";
7
+ import external_node_fs_default from "node:fs";
8
+ import { pathToFileURL } from "node:url";
9
+ import { register } from "@lynx-js/rspeedy/register";
10
10
  var __webpack_modules__ = {
11
11
  "../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": function(module) {
12
12
  let p = process || {}, argv = p.argv || [], env = p.env || {};
@@ -106,9 +106,9 @@ var __webpack_modules__ = {
106
106
  },
107
107
  "./src/version.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
108
108
  __webpack_require__.d(__webpack_exports__, {
109
+ Q0: ()=>core_.version,
109
110
  _A: ()=>rspackVersion,
110
- i8: ()=>version,
111
- Q0: ()=>core_.version
111
+ i8: ()=>version
112
112
  });
113
113
  var core_ = __webpack_require__("@rsbuild/core");
114
114
  var package_namespaceObject = {
@@ -419,7 +419,7 @@ async function createRspeedy({ cwd = process.cwd(), rspeedyConfig = {}, loadEnv
419
419
  async inspectConfig (options) {
420
420
  const result = await inspectConfig(options);
421
421
  const { inspectRspeedyConfig } = await Promise.all([
422
- __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be"),
422
+ __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"),
423
423
  __webpack_require__.e("src_plugins_inspect_plugin_ts")
424
424
  ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts"));
425
425
  await inspectRspeedyConfig(rspeedyConfig, external_node_path_["default"].resolve(options.outputPath ?? rspeedy.context.distPath, '.rsbuild/rspeedy.config.js'), options.verbose ?? false);
@@ -439,7 +439,7 @@ const resolveConfigPath = (root, customConfig)=>{
439
439
  if (customConfig) {
440
440
  (0, debug.fF)(`load custom config file ${customConfig} from ${root}`);
441
441
  const customConfigPath = (0, external_node_path_.isAbsolute)(customConfig) ? customConfig : (0, external_node_path_.join)(root, customConfig);
442
- if (__WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__["default"].existsSync(customConfigPath)) return customConfigPath;
442
+ if (external_node_fs_default.existsSync(customConfigPath)) return customConfigPath;
443
443
  throw new Error(`Cannot find config file: ${picocolors_default().dim(customConfigPath)}`);
444
444
  }
445
445
  const CONFIG_FILES = [
@@ -451,7 +451,7 @@ const resolveConfigPath = (root, customConfig)=>{
451
451
  for (const file of CONFIG_FILES){
452
452
  (0, debug.fF)(`load default config file ${file} from ${root}`);
453
453
  const configFile = (0, external_node_path_.join)(root, file);
454
- if (__WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__["default"].existsSync(configFile)) {
454
+ if (external_node_fs_default.existsSync(configFile)) {
455
455
  (0, debug.fF)(`default config ${configFile} found`);
456
456
  return configFile;
457
457
  }
@@ -464,8 +464,8 @@ const resolveConfigPath = (root, customConfig)=>{
464
464
  async function loadConfig(loadConfigOptions) {
465
465
  let { configPath } = loadConfigOptions;
466
466
  if (!configPath || !(0, external_node_path_.isAbsolute)(configPath)) configPath = resolveConfigPath(loadConfigOptions.cwd ?? process.cwd(), configPath);
467
- const specifier = (0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.pathToFileURL)(configPath).toString();
468
- const unregister = shouldUseNativeImport(configPath) ? ()=>void 0 : (0, __WEBPACK_EXTERNAL_MODULE__lynx_js_rspeedy_register_78d0d330__.register)();
467
+ const specifier = pathToFileURL(configPath).toString();
468
+ const unregister = shouldUseNativeImport(configPath) ? ()=>void 0 : register();
469
469
  try {
470
470
  const [exports, { validate }] = await Promise.all([
471
471
  import(`${specifier}?t=${Date.now()}`),
@@ -1,5 +1,5 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
2
- import * as __WEBPACK_EXTERNAL_MODULE_typescript__ from "typescript";
1
+ import { URL } from "node:url";
2
+ import external_typescript_default from "typescript";
3
3
  const FLAG_REPLACE_WITH_OPEN_PAREN = 1;
4
4
  const FLAG_REPLACE_WITH_CLOSE_PAREN = 2;
5
5
  const FLAG_REPLACE_WITH_SEMI = 3;
@@ -67,17 +67,17 @@ class BlankString {
67
67
  return out + input.slice(previousEnd);
68
68
  }
69
69
  }
70
- const SK = __WEBPACK_EXTERNAL_MODULE_typescript__["default"].SyntaxKind;
70
+ const SK = external_typescript_default.SyntaxKind;
71
71
  const VISIT_BLANKED = "";
72
72
  const VISITED_JS = null;
73
73
  const languageOptions = {
74
- languageVersion: __WEBPACK_EXTERNAL_MODULE_typescript__["default"].ScriptTarget.ESNext,
75
- impliedNodeFormat: __WEBPACK_EXTERNAL_MODULE_typescript__["default"].ModuleKind.ESNext
74
+ languageVersion: external_typescript_default.ScriptTarget.ESNext,
75
+ impliedNodeFormat: external_typescript_default.ModuleKind.ESNext
76
76
  };
77
- const scanner = __WEBPACK_EXTERNAL_MODULE_typescript__["default"].createScanner(__WEBPACK_EXTERNAL_MODULE_typescript__["default"].ScriptTarget.ESNext, true, __WEBPACK_EXTERNAL_MODULE_typescript__["default"].LanguageVariant.Standard);
78
- if (__WEBPACK_EXTERNAL_MODULE_typescript__["default"].JSDocParsingMode) {
79
- languageOptions.jsDocParsingMode = __WEBPACK_EXTERNAL_MODULE_typescript__["default"].JSDocParsingMode.ParseNone;
80
- scanner.setJSDocParsingMode(__WEBPACK_EXTERNAL_MODULE_typescript__["default"].JSDocParsingMode.ParseNone);
77
+ const scanner = external_typescript_default.createScanner(external_typescript_default.ScriptTarget.ESNext, true, external_typescript_default.LanguageVariant.Standard);
78
+ if (external_typescript_default.JSDocParsingMode) {
79
+ languageOptions.jsDocParsingMode = external_typescript_default.JSDocParsingMode.ParseNone;
80
+ scanner.setJSDocParsingMode(external_typescript_default.JSDocParsingMode.ParseNone);
81
81
  }
82
82
  let src = "";
83
83
  let str = new BlankString("");
@@ -86,7 +86,7 @@ let onError;
86
86
  let seenJS = false;
87
87
  let parentStatement;
88
88
  function tsBlankSpace(input, onErrorArg) {
89
- return blankSourceFile(__WEBPACK_EXTERNAL_MODULE_typescript__["default"].createSourceFile("input.ts", input, languageOptions, false, __WEBPACK_EXTERNAL_MODULE_typescript__["default"].ScriptKind.TS), onErrorArg);
89
+ return blankSourceFile(external_typescript_default.createSourceFile("input.ts", input, languageOptions, false, external_typescript_default.ScriptKind.TS), onErrorArg);
90
90
  }
91
91
  function blankSourceFile(source, onErrorArg) {
92
92
  try {
@@ -110,7 +110,7 @@ function blankSourceFile(source, onErrorArg) {
110
110
  }
111
111
  function visitUnknownNodeArray(nodes) {
112
112
  if (0 === nodes.length) return VISITED_JS;
113
- return visitNodeArray(nodes, __WEBPACK_EXTERNAL_MODULE_typescript__["default"].isStatement(nodes[0]), false);
113
+ return visitNodeArray(nodes, external_typescript_default.isStatement(nodes[0]), false);
114
114
  }
115
115
  function visitNodeArray(nodes, isStatementLike, isFunctionBody) {
116
116
  const previousParentStatement = parentStatement;
@@ -371,7 +371,7 @@ function visitImportDeclaration(node) {
371
371
  return VISIT_BLANKED;
372
372
  }
373
373
  const { namedBindings } = node.importClause;
374
- if (namedBindings && __WEBPACK_EXTERNAL_MODULE_typescript__["default"].isNamedImports(namedBindings)) {
374
+ if (namedBindings && external_typescript_default.isNamedImports(namedBindings)) {
375
375
  const elements = namedBindings.elements;
376
376
  for(let i = 0; i < elements.length; i++){
377
377
  const e = elements[i];
@@ -387,7 +387,7 @@ function visitExportDeclaration(node) {
387
387
  return VISIT_BLANKED;
388
388
  }
389
389
  const { exportClause } = node;
390
- if (exportClause && __WEBPACK_EXTERNAL_MODULE_typescript__["default"].isNamedExports(exportClause)) {
390
+ if (exportClause && external_typescript_default.isNamedExports(exportClause)) {
391
391
  const elements = exportClause.elements;
392
392
  for(let i = 0; i < elements.length; i++){
393
393
  const e = elements[i];
@@ -405,7 +405,7 @@ function visitExportAssignment(node) {
405
405
  return VISITED_JS;
406
406
  }
407
407
  function visitModule(node) {
408
- if (node.flags & __WEBPACK_EXTERNAL_MODULE_typescript__["default"].NodeFlags.GlobalAugmentation || node.flags & __WEBPACK_EXTERNAL_MODULE_typescript__["default"].NodeFlags.Namespace && (node.modifiers && modifiersContainsDeclare(node.modifiers) || !valueNamespaceWorker(node)) || node.name.kind === SK.StringLiteral) {
408
+ if (node.flags & external_typescript_default.NodeFlags.GlobalAugmentation || node.flags & external_typescript_default.NodeFlags.Namespace && (node.modifiers && modifiersContainsDeclare(node.modifiers) || !valueNamespaceWorker(node)) || node.name.kind === SK.StringLiteral) {
409
409
  blankStatement(node);
410
410
  return VISIT_BLANKED;
411
411
  }
@@ -432,7 +432,7 @@ function valueNamespaceWorker(node) {
432
432
  }
433
433
  case SK.ModuleDeclaration:
434
434
  {
435
- if (!(node.flags & __WEBPACK_EXTERNAL_MODULE_typescript__["default"].NodeFlags.Namespace)) return true;
435
+ if (!(node.flags & external_typescript_default.NodeFlags.Namespace)) return true;
436
436
  const { body } = node;
437
437
  if (!body) return false;
438
438
  if (body.kind === SK.ModuleDeclaration) return valueNamespaceWorker(body);
@@ -544,7 +544,7 @@ function onMessage(message) {
544
544
  function parseURL(url) {
545
545
  if (null == url) return null;
546
546
  try {
547
- return new __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.URL(url, 'file://');
547
+ return new URL(url, 'file://');
548
548
  } catch {
549
549
  return null;
550
550
  }
@@ -1,12 +1,12 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__ from "node:module";
1
+ import external_node_module_default from "node:module";
2
2
  function register() {
3
- if (!__WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__["default"].register) throw new Error([
3
+ if (!external_node_module_default.register) throw new Error([
4
4
  `This version of Node.js (${process.version}) does not support module.register(). You can either:`,
5
5
  " - Upgrade to Node.js v18.19 or v20.6 and above",
6
6
  " - Use `lynx.config.js` instead of `lynx.config.ts`"
7
7
  ].join('\n'));
8
8
  const { port1, port2 } = new MessageChannel();
9
- __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__["default"].register(`./hooks.js?${Date.now()}`, import.meta.url, {
9
+ external_node_module_default.register(`./hooks.js?${Date.now()}`, import.meta.url, {
10
10
  parentURL: import.meta.url,
11
11
  data: {
12
12
  port: port2
@@ -15,7 +15,7 @@ export const __webpack_modules__ = {
15
15
  async function build(cwd, buildOptions) {
16
16
  const shouldExit = 'true' !== process.env['RSDOCTOR'] || (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_4__.y)();
17
17
  try {
18
- const { createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_3__.init)(cwd, buildOptions);
18
+ const { createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_3__.S)(cwd, buildOptions);
19
19
  const rspeedy = await (0, _create_rspeedy_js__WEBPACK_IMPORTED_MODULE_2__.S)(createRspeedyOptions);
20
20
  await rspeedy.build();
21
21
  } catch (error) {
@@ -27,7 +27,7 @@ export const __webpack_modules__ = {
27
27
  },
28
28
  "./src/cli/init.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
29
29
  __webpack_require__.d(__webpack_exports__, {
30
- init: ()=>init
30
+ S: ()=>init
31
31
  });
32
32
  var external_node_fs_ = __webpack_require__("node:fs");
33
33
  var external_node_path_ = __webpack_require__("node:path");
@@ -306,7 +306,7 @@ export const __webpack_modules__ = {
306
306
  async inspectConfig (options) {
307
307
  const result = await inspectConfig(options);
308
308
  const { inspectRspeedyConfig } = await Promise.all([
309
- __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be"),
309
+ __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"),
310
310
  __webpack_require__.e("src_plugins_inspect_plugin_ts")
311
311
  ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts"));
312
312
  await inspectRspeedyConfig(rspeedyConfig, external_node_path_["default"].resolve(options.outputPath ?? rspeedy.context.distPath, '.rsbuild/rspeedy.config.js'), options.verbose ?? false);
@@ -34,9 +34,9 @@ export const __webpack_modules__ = {
34
34
  },
35
35
  "./src/version.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
36
36
  __webpack_require__.d(__webpack_exports__, {
37
- rsbuildVersion: ()=>core_.version,
38
37
  version: ()=>version,
39
- rspackVersion: ()=>rspackVersion
38
+ rspackVersion: ()=>rspackVersion,
39
+ rsbuildVersion: ()=>core_.version
40
40
  });
41
41
  var core_ = __webpack_require__("@rsbuild/core");
42
42
  var package_namespaceObject = {
@@ -17,7 +17,7 @@ export const __webpack_modules__ = {
17
17
  async function dev(cwd, devOptions) {
18
18
  let onBeforeRestart = [];
19
19
  try {
20
- const { rspeedyConfig, configPath, createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_4__.init)(cwd, devOptions);
20
+ const { rspeedyConfig, configPath, createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_4__.S)(cwd, devOptions);
21
21
  const watchedFiles = [
22
22
  configPath
23
23
  ];
@@ -70,7 +70,7 @@ export const __webpack_modules__ = {
70
70
  },
71
71
  "./src/cli/init.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
72
72
  __webpack_require__.d(__webpack_exports__, {
73
- init: ()=>init
73
+ S: ()=>init
74
74
  });
75
75
  var external_node_fs_ = __webpack_require__("node:fs");
76
76
  var external_node_path_ = __webpack_require__("node:path");
@@ -349,7 +349,7 @@ export const __webpack_modules__ = {
349
349
  async inspectConfig (options) {
350
350
  const result = await inspectConfig(options);
351
351
  const { inspectRspeedyConfig } = await Promise.all([
352
- __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be"),
352
+ __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"),
353
353
  __webpack_require__.e("src_plugins_inspect_plugin_ts")
354
354
  ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts"));
355
355
  await inspectRspeedyConfig(rspeedyConfig, external_node_path_["default"].resolve(options.outputPath ?? rspeedy.context.distPath, '.rsbuild/rspeedy.config.js'), options.verbose ?? false);
@@ -4,7 +4,7 @@ export const __webpack_ids__ = [
4
4
  export const __webpack_modules__ = {
5
5
  "./src/cli/init.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
6
  __webpack_require__.d(__webpack_exports__, {
7
- init: ()=>init
7
+ S: ()=>init
8
8
  });
9
9
  var external_node_fs_ = __webpack_require__("node:fs");
10
10
  var external_node_path_ = __webpack_require__("node:path");
@@ -122,7 +122,7 @@ export const __webpack_modules__ = {
122
122
  var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./src/cli/init.ts");
123
123
  async function inspect(cwd, inspectOptions) {
124
124
  try {
125
- const { createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_3__.init)(cwd, inspectOptions);
125
+ const { createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_3__.S)(cwd, inspectOptions);
126
126
  const rspeedy = await (0, _create_rspeedy_js__WEBPACK_IMPORTED_MODULE_2__.S)(createRspeedyOptions);
127
127
  await rspeedy.inspectConfig({
128
128
  mode: inspectOptions.mode ?? process.env['NODE_ENV'] ?? 'development',
@@ -309,7 +309,7 @@ export const __webpack_modules__ = {
309
309
  async inspectConfig (options) {
310
310
  const result = await inspectConfig(options);
311
311
  const { inspectRspeedyConfig } = await Promise.all([
312
- __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be"),
312
+ __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"),
313
313
  __webpack_require__.e("src_plugins_inspect_plugin_ts")
314
314
  ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts"));
315
315
  await inspectRspeedyConfig(rspeedyConfig, external_node_path_["default"].resolve(options.outputPath ?? rspeedy.context.distPath, '.rsbuild/rspeedy.config.js'), options.verbose ?? false);
@@ -4,7 +4,7 @@ export const __webpack_ids__ = [
4
4
  export const __webpack_modules__ = {
5
5
  "./src/cli/init.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
6
  __webpack_require__.d(__webpack_exports__, {
7
- init: ()=>init
7
+ S: ()=>init
8
8
  });
9
9
  var external_node_fs_ = __webpack_require__("node:fs");
10
10
  var external_node_path_ = __webpack_require__("node:path");
@@ -125,7 +125,7 @@ export const __webpack_modules__ = {
125
125
  var _init_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("./src/cli/init.ts");
126
126
  async function preview(cwd, previewOptions) {
127
127
  try {
128
- const { createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_4__.init)(cwd, previewOptions);
128
+ const { createRspeedyOptions } = await (0, _init_js__WEBPACK_IMPORTED_MODULE_4__.S)(cwd, previewOptions);
129
129
  const rspeedy = await (0, _create_rspeedy_js__WEBPACK_IMPORTED_MODULE_3__.S)(createRspeedyOptions);
130
130
  await rspeedy.initConfigs();
131
131
  const { distPath } = rspeedy.context;
@@ -311,7 +311,7 @@ export const __webpack_modules__ = {
311
311
  async inspectConfig (options) {
312
312
  const result = await inspectConfig(options);
313
313
  const { inspectRspeedyConfig } = await Promise.all([
314
- __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be"),
314
+ __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"),
315
315
  __webpack_require__.e("src_plugins_inspect_plugin_ts")
316
316
  ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts"));
317
317
  await inspectRspeedyConfig(rspeedyConfig, external_node_path_["default"].resolve(options.outputPath ?? rspeedy.context.distPath, '.rsbuild/rspeedy.config.js'), options.verbose ?? false);
@@ -1414,9 +1414,9 @@ export const __webpack_modules__ = {
1414
1414
  if (void 0 === value) return true;
1415
1415
  return "string" == typeof value || "boolean" == typeof value;
1416
1416
  });
1417
- const _io50 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6656"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1417
+ const _io50 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6653"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
1418
1418
  if ([
1419
- "__@toStringTag@6656"
1419
+ "__@toStringTag@6653"
1420
1420
  ].some((prop)=>key === prop)) return true;
1421
1421
  const value = input[key];
1422
1422
  if (void 0 === value) return true;
@@ -2977,14 +2977,14 @@ export const __webpack_modules__ = {
2977
2977
  if (void 0 === value) return true;
2978
2978
  return false;
2979
2979
  })));
2980
- const _io155 = (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@6656"] && Object.keys(input).every((key)=>{
2980
+ const _io155 = (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@6653"] && Object.keys(input).every((key)=>{
2981
2981
  if ([
2982
2982
  "BYTES_PER_ELEMENT",
2983
2983
  "buffer",
2984
2984
  "byteLength",
2985
2985
  "byteOffset",
2986
2986
  "length",
2987
- "__@toStringTag@6656"
2987
+ "__@toStringTag@6653"
2988
2988
  ].some((prop)=>key === prop)) return true;
2989
2989
  const value = input[key];
2990
2990
  if (void 0 === value) return true;
@@ -5898,17 +5898,17 @@ export const __webpack_modules__ = {
5898
5898
  if (void 0 === value) return true;
5899
5899
  return false;
5900
5900
  }));
5901
- const _io382 = (input, _exceptionable = true)=>"string" == typeof input.from && null !== input.to && (void 0 === input.to || "function" == typeof input.to || "string" == typeof input.to) && (void 0 === input.context || "string" == typeof input.context) && (void 0 === input.toType || "string" == typeof input.toType) && (void 0 === input.noErrorOnMissing || "boolean" == typeof input.noErrorOnMissing) && (void 0 === input.force || "boolean" == typeof input.force) && (void 0 === input.priority || "number" == typeof input.priority) && (void 0 === input.globOptions || "object" == typeof input.globOptions && null !== input.globOptions && false === Array.isArray(input.globOptions) && _io383(input.globOptions, _exceptionable)) && (void 0 === input.info || "object" == typeof input.info && null !== input.info && false === Array.isArray(input.info) && _io384(input.info, _exceptionable)) && (void 0 === input.copyPermissions || "boolean" == typeof input.copyPermissions) && null !== input.transform && (void 0 === input.transform || "function" == typeof input.transform || "object" == typeof input.transform && null !== input.transform && _io386(input.transform, _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
5901
+ const _io382 = (input, _exceptionable = true)=>"string" == typeof input.from && (void 0 === input.info || "object" == typeof input.info && null !== input.info && false === Array.isArray(input.info) && _io383(input.info, _exceptionable)) && (void 0 === input.context || "string" == typeof input.context) && null !== input.to && (void 0 === input.to || "function" == typeof input.to || "string" == typeof input.to) && (void 0 === input.toType || "string" == typeof input.toType) && (void 0 === input.noErrorOnMissing || "boolean" == typeof input.noErrorOnMissing) && (void 0 === input.force || "boolean" == typeof input.force) && (void 0 === input.priority || "number" == typeof input.priority) && (void 0 === input.globOptions || "object" == typeof input.globOptions && null !== input.globOptions && false === Array.isArray(input.globOptions) && _io385(input.globOptions, _exceptionable)) && (void 0 === input.copyPermissions || "boolean" == typeof input.copyPermissions) && null !== input.transform && (void 0 === input.transform || "function" == typeof input.transform || "object" == typeof input.transform && null !== input.transform && _io386(input.transform, _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
5902
5902
  if ([
5903
5903
  "from",
5904
- "to",
5904
+ "info",
5905
5905
  "context",
5906
+ "to",
5906
5907
  "toType",
5907
5908
  "noErrorOnMissing",
5908
5909
  "force",
5909
5910
  "priority",
5910
5911
  "globOptions",
5911
- "info",
5912
5912
  "copyPermissions",
5913
5913
  "transform"
5914
5914
  ].some((prop)=>key === prop)) return true;
@@ -5916,17 +5916,7 @@ export const __webpack_modules__ = {
5916
5916
  if (void 0 === value) return true;
5917
5917
  return false;
5918
5918
  }));
5919
- const _io383 = (input, _exceptionable = true)=>(void 0 === input.caseSensitiveMatch || "boolean" == typeof input.caseSensitiveMatch) && (void 0 === input.dot || "boolean" == typeof input.dot) && (void 0 === input.ignore || Array.isArray(input.ignore) && input.ignore.every((elem, _index304)=>"string" == typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5920
- if ([
5921
- "caseSensitiveMatch",
5922
- "dot",
5923
- "ignore"
5924
- ].some((prop)=>key === prop)) return true;
5925
- const value = input[key];
5926
- if (void 0 === value) return true;
5927
- return false;
5928
- }));
5929
- const _io384 = (input, _exceptionable = true)=>(void 0 === input.immutable || "boolean" == typeof input.immutable) && (void 0 === input.minimized || "boolean" == typeof input.minimized) && (void 0 === input.chunkHash || Array.isArray(input.chunkHash) && input.chunkHash.every((elem, _index305)=>"string" == typeof elem)) && (void 0 === input.contentHash || Array.isArray(input.contentHash) && input.contentHash.every((elem, _index306)=>"string" == typeof elem)) && (void 0 === input.development || "boolean" == typeof input.development) && (void 0 === input.hotModuleReplacement || "boolean" == typeof input.hotModuleReplacement) && (void 0 === input.related || "object" == typeof input.related && null !== input.related && false === Array.isArray(input.related) && _io385(input.related, _exceptionable)) && (void 0 === input.version || "string" == typeof input.version) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5919
+ const _io383 = (input, _exceptionable = true)=>(void 0 === input.immutable || "boolean" == typeof input.immutable) && (void 0 === input.minimized || "boolean" == typeof input.minimized) && (void 0 === input.chunkHash || Array.isArray(input.chunkHash) && input.chunkHash.every((elem, _index304)=>"string" == typeof elem)) && (void 0 === input.contentHash || Array.isArray(input.contentHash) && input.contentHash.every((elem, _index305)=>"string" == typeof elem)) && (void 0 === input.development || "boolean" == typeof input.development) && (void 0 === input.hotModuleReplacement || "boolean" == typeof input.hotModuleReplacement) && (void 0 === input.related || "object" == typeof input.related && null !== input.related && false === Array.isArray(input.related) && _io384(input.related, _exceptionable)) && (void 0 === input.version || "string" == typeof input.version) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5930
5920
  if ([
5931
5921
  "immutable",
5932
5922
  "minimized",
@@ -5941,7 +5931,7 @@ export const __webpack_modules__ = {
5941
5931
  if (void 0 === value) return true;
5942
5932
  return false;
5943
5933
  }));
5944
- const _io385 = (input, _exceptionable = true)=>(void 0 === input.sourceMap || "string" == typeof input.sourceMap) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5934
+ const _io384 = (input, _exceptionable = true)=>(void 0 === input.sourceMap || "string" == typeof input.sourceMap) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5945
5935
  if ([
5946
5936
  "sourceMap"
5947
5937
  ].some((prop)=>key === prop)) return true;
@@ -5949,6 +5939,16 @@ export const __webpack_modules__ = {
5949
5939
  if (void 0 === value) return true;
5950
5940
  return false;
5951
5941
  }));
5942
+ const _io385 = (input, _exceptionable = true)=>(void 0 === input.caseSensitiveMatch || "boolean" == typeof input.caseSensitiveMatch) && (void 0 === input.dot || "boolean" == typeof input.dot) && (void 0 === input.ignore || Array.isArray(input.ignore) && input.ignore.every((elem, _index306)=>"string" == typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
5943
+ if ([
5944
+ "caseSensitiveMatch",
5945
+ "dot",
5946
+ "ignore"
5947
+ ].some((prop)=>key === prop)) return true;
5948
+ const value = input[key];
5949
+ if (void 0 === value) return true;
5950
+ return false;
5951
+ }));
5952
5952
  const _io386 = (input, _exceptionable = true)=>1 === Object.keys(input).length || Object.keys(input).every((key)=>{
5953
5953
  if ([
5954
5954
  "transformer"
@@ -6191,9 +6191,9 @@ export const __webpack_modules__ = {
6191
6191
  if (void 0 === value) return true;
6192
6192
  return false;
6193
6193
  }));
6194
- const _io409 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6656"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6194
+ const _io409 = (input, _exceptionable = true)=>"string" == typeof input["__@toStringTag@6653"] && (1 === Object.keys(input).length || Object.keys(input).every((key)=>{
6195
6195
  if ([
6196
- "__@toStringTag@6656"
6196
+ "__@toStringTag@6653"
6197
6197
  ].some((prop)=>key === prop)) return true;
6198
6198
  const value = input[key];
6199
6199
  if (void 0 === value) return true;
@@ -6801,18 +6801,18 @@ export const __webpack_modules__ = {
6801
6801
  return false;
6802
6802
  })();
6803
6803
  const _iu3 = (input, _exceptionable = true)=>(()=>{
6804
- if (void 0 !== input["__@toStringTag@6656"]) return _io155(input, _exceptionable);
6804
+ if (void 0 !== input["__@toStringTag@6653"]) return _io155(input, _exceptionable);
6805
6805
  if (void 0 !== input.pem) return _io156(input, _exceptionable);
6806
6806
  return false;
6807
6807
  })();
6808
6808
  const _iu4 = (input, _exceptionable = true)=>(()=>{
6809
- if (void 0 !== input["__@toStringTag@6656"]) return _io155(input, _exceptionable);
6809
+ if (void 0 !== input["__@toStringTag@6653"]) return _io155(input, _exceptionable);
6810
6810
  if (void 0 !== input.buf) return _io157(input, _exceptionable);
6811
6811
  return false;
6812
6812
  })();
6813
6813
  const _iu5 = (input, _exceptionable = true)=>(()=>{
6814
6814
  if (void 0 !== input.name) return _io408(input, _exceptionable);
6815
- if (void 0 !== input["__@toStringTag@6656"]) return _io409(input, _exceptionable);
6815
+ if (void 0 !== input["__@toStringTag@6653"]) return _io409(input, _exceptionable);
6816
6816
  return false;
6817
6817
  })();
6818
6818
  const _iu6 = (input, _exceptionable = true)=>(()=>{
@@ -9556,14 +9556,14 @@ export const __webpack_modules__ = {
9556
9556
  }).every((flag)=>flag)
9557
9557
  ].every((flag)=>flag);
9558
9558
  const _vo50 = (input, _path, _exceptionable = true)=>[
9559
- "string" == typeof input["__@toStringTag@6656"] || _report(_exceptionable, {
9560
- path: _path + "[\"__@toStringTag@6656\"]",
9559
+ "string" == typeof input["__@toStringTag@6653"] || _report(_exceptionable, {
9560
+ path: _path + "[\"__@toStringTag@6653\"]",
9561
9561
  expected: "string",
9562
- value: input["__@toStringTag@6656"]
9562
+ value: input["__@toStringTag@6653"]
9563
9563
  }),
9564
9564
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
9565
9565
  if ([
9566
- "__@toStringTag@6656"
9566
+ "__@toStringTag@6653"
9567
9567
  ].some((prop)=>key === prop)) return true;
9568
9568
  const value = input[key];
9569
9569
  if (void 0 === value) return true;
@@ -17922,10 +17922,10 @@ export const __webpack_modules__ = {
17922
17922
  expected: "number",
17923
17923
  value: input.length
17924
17924
  }),
17925
- "Uint8Array" === input["__@toStringTag@6656"] || _report(_exceptionable, {
17926
- path: _path + "[\"__@toStringTag@6656\"]",
17925
+ "Uint8Array" === input["__@toStringTag@6653"] || _report(_exceptionable, {
17926
+ path: _path + "[\"__@toStringTag@6653\"]",
17927
17927
  expected: "\"Uint8Array\"",
17928
- value: input["__@toStringTag@6656"]
17928
+ value: input["__@toStringTag@6653"]
17929
17929
  }),
17930
17930
  false === _exceptionable || Object.keys(input).map((key)=>{
17931
17931
  if ([
@@ -17934,7 +17934,7 @@ export const __webpack_modules__ = {
17934
17934
  "byteLength",
17935
17935
  "byteOffset",
17936
17936
  "length",
17937
- "__@toStringTag@6656"
17937
+ "__@toStringTag@6653"
17938
17938
  ].some((prop)=>key === prop)) return true;
17939
17939
  const value = input[key];
17940
17940
  if (void 0 === value) return true;
@@ -31667,31 +31667,31 @@ export const __webpack_modules__ = {
31667
31667
  }),
31668
31668
  (null !== input.copy || _report(_exceptionable, {
31669
31669
  path: _path + ".copy",
31670
- expected: "(Array<string | ({ from: string; } & Partial<RawCopyPattern>)> | CopyRspackPluginOptions | undefined)",
31670
+ expected: "(Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)> | CopyRspackPluginOptions | undefined)",
31671
31671
  value: input.copy
31672
31672
  })) && (void 0 === input.copy || Array.isArray(input.copy) && input.copy.map((elem, _index659)=>(null !== elem || _report(_exceptionable, {
31673
31673
  path: _path + ".copy[" + _index659 + "]",
31674
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
31674
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
31675
31675
  value: elem
31676
31676
  })) && (void 0 !== elem || _report(_exceptionable, {
31677
31677
  path: _path + ".copy[" + _index659 + "]",
31678
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
31678
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
31679
31679
  value: elem
31680
31680
  })) && ("string" == typeof elem || ("object" == typeof elem && null !== elem || _report(_exceptionable, {
31681
31681
  path: _path + ".copy[" + _index659 + "]",
31682
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
31682
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
31683
31683
  value: elem
31684
31684
  })) && _vo382(elem, _path + ".copy[" + _index659 + "]", _exceptionable) || _report(_exceptionable, {
31685
31685
  path: _path + ".copy[" + _index659 + "]",
31686
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
31686
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
31687
31687
  value: elem
31688
31688
  }))).every((flag)=>flag) || "object" == typeof input.copy && null !== input.copy && _vo381(input.copy, _path + ".copy", _exceptionable) || _report(_exceptionable, {
31689
31689
  path: _path + ".copy",
31690
- expected: "(Array<string | ({ from: string; } & Partial<RawCopyPattern>)> | CopyRspackPluginOptions | undefined)",
31690
+ expected: "(Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)> | CopyRspackPluginOptions | undefined)",
31691
31691
  value: input.copy
31692
31692
  }) || _report(_exceptionable, {
31693
31693
  path: _path + ".copy",
31694
- expected: "(Array<string | ({ from: string; } & Partial<RawCopyPattern>)> | CopyRspackPluginOptions | undefined)",
31694
+ expected: "(Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)> | CopyRspackPluginOptions | undefined)",
31695
31695
  value: input.copy
31696
31696
  })),
31697
31697
  void 0 === input.emitAssets || "boolean" == typeof input.emitAssets || _report(_exceptionable, {
@@ -33231,27 +33231,27 @@ export const __webpack_modules__ = {
33231
33231
  const _vo381 = (input, _path, _exceptionable = true)=>[
33232
33232
  (Array.isArray(input.patterns) || _report(_exceptionable, {
33233
33233
  path: _path + ".patterns",
33234
- expected: "Array<string | ({ from: string; } & Partial<RawCopyPattern>)>",
33234
+ expected: "Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)>",
33235
33235
  value: input.patterns
33236
33236
  })) && input.patterns.map((elem, _index672)=>(null !== elem || _report(_exceptionable, {
33237
33237
  path: _path + ".patterns[" + _index672 + "]",
33238
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
33238
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
33239
33239
  value: elem
33240
33240
  })) && (void 0 !== elem || _report(_exceptionable, {
33241
33241
  path: _path + ".patterns[" + _index672 + "]",
33242
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
33242
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
33243
33243
  value: elem
33244
33244
  })) && ("string" == typeof elem || ("object" == typeof elem && null !== elem || _report(_exceptionable, {
33245
33245
  path: _path + ".patterns[" + _index672 + "]",
33246
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
33246
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
33247
33247
  value: elem
33248
33248
  })) && _vo382(elem, _path + ".patterns[" + _index672 + "]", _exceptionable) || _report(_exceptionable, {
33249
33249
  path: _path + ".patterns[" + _index672 + "]",
33250
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
33250
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
33251
33251
  value: elem
33252
33252
  }))).every((flag)=>flag) || _report(_exceptionable, {
33253
33253
  path: _path + ".patterns",
33254
- expected: "Array<string | ({ from: string; } & Partial<RawCopyPattern>)>",
33254
+ expected: "Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)>",
33255
33255
  value: input.patterns
33256
33256
  }),
33257
33257
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
@@ -33273,6 +33273,20 @@ export const __webpack_modules__ = {
33273
33273
  expected: "string",
33274
33274
  value: input.from
33275
33275
  }),
33276
+ void 0 === input.info || ("object" == typeof input.info && null !== input.info && false === Array.isArray(input.info) || _report(_exceptionable, {
33277
+ path: _path + ".info",
33278
+ expected: "(RawInfo | undefined)",
33279
+ value: input.info
33280
+ })) && _vo383(input.info, _path + ".info", _exceptionable) || _report(_exceptionable, {
33281
+ path: _path + ".info",
33282
+ expected: "(RawInfo | undefined)",
33283
+ value: input.info
33284
+ }),
33285
+ void 0 === input.context || "string" == typeof input.context || _report(_exceptionable, {
33286
+ path: _path + ".context",
33287
+ expected: "(string | undefined)",
33288
+ value: input.context
33289
+ }),
33276
33290
  (null !== input.to || _report(_exceptionable, {
33277
33291
  path: _path + ".to",
33278
33292
  expected: "(string | undefined)",
@@ -33282,11 +33296,6 @@ export const __webpack_modules__ = {
33282
33296
  expected: "(string | undefined)",
33283
33297
  value: input.to
33284
33298
  })),
33285
- void 0 === input.context || "string" == typeof input.context || _report(_exceptionable, {
33286
- path: _path + ".context",
33287
- expected: "(string | undefined)",
33288
- value: input.context
33289
- }),
33290
33299
  void 0 === input.toType || "string" == typeof input.toType || _report(_exceptionable, {
33291
33300
  path: _path + ".toType",
33292
33301
  expected: "(string | undefined)",
@@ -33311,20 +33320,11 @@ export const __webpack_modules__ = {
33311
33320
  path: _path + ".globOptions",
33312
33321
  expected: "(RawCopyGlobOptions | undefined)",
33313
33322
  value: input.globOptions
33314
- })) && _vo383(input.globOptions, _path + ".globOptions", _exceptionable) || _report(_exceptionable, {
33323
+ })) && _vo385(input.globOptions, _path + ".globOptions", _exceptionable) || _report(_exceptionable, {
33315
33324
  path: _path + ".globOptions",
33316
33325
  expected: "(RawCopyGlobOptions | undefined)",
33317
33326
  value: input.globOptions
33318
33327
  }),
33319
- void 0 === input.info || ("object" == typeof input.info && null !== input.info && false === Array.isArray(input.info) || _report(_exceptionable, {
33320
- path: _path + ".info",
33321
- expected: "(RawInfo | undefined)",
33322
- value: input.info
33323
- })) && _vo384(input.info, _path + ".info", _exceptionable) || _report(_exceptionable, {
33324
- path: _path + ".info",
33325
- expected: "(RawInfo | undefined)",
33326
- value: input.info
33327
- }),
33328
33328
  void 0 === input.copyPermissions || "boolean" == typeof input.copyPermissions || _report(_exceptionable, {
33329
33329
  path: _path + ".copyPermissions",
33330
33330
  expected: "(boolean | undefined)",
@@ -33332,28 +33332,28 @@ export const __webpack_modules__ = {
33332
33332
  }),
33333
33333
  (null !== input.transform || _report(_exceptionable, {
33334
33334
  path: _path + ".transform",
33335
- expected: "(__type.o112 | undefined)",
33335
+ expected: "(__type.o111 | undefined)",
33336
33336
  value: input.transform
33337
33337
  })) && (void 0 === input.transform || "function" == typeof input.transform || ("object" == typeof input.transform && null !== input.transform || _report(_exceptionable, {
33338
33338
  path: _path + ".transform",
33339
- expected: "(__type.o112 | undefined)",
33339
+ expected: "(__type.o111 | undefined)",
33340
33340
  value: input.transform
33341
33341
  })) && _vo386(input.transform, _path + ".transform", _exceptionable) || _report(_exceptionable, {
33342
33342
  path: _path + ".transform",
33343
- expected: "(__type.o112 | undefined)",
33343
+ expected: "(__type.o111 | undefined)",
33344
33344
  value: input.transform
33345
33345
  })),
33346
33346
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
33347
33347
  if ([
33348
33348
  "from",
33349
- "to",
33349
+ "info",
33350
33350
  "context",
33351
+ "to",
33351
33352
  "toType",
33352
33353
  "noErrorOnMissing",
33353
33354
  "force",
33354
33355
  "priority",
33355
33356
  "globOptions",
33356
- "info",
33357
33357
  "copyPermissions",
33358
33358
  "transform"
33359
33359
  ].some((prop)=>key === prop)) return true;
@@ -33367,45 +33367,6 @@ export const __webpack_modules__ = {
33367
33367
  }).every((flag)=>flag)
33368
33368
  ].every((flag)=>flag);
33369
33369
  const _vo383 = (input, _path, _exceptionable = true)=>[
33370
- void 0 === input.caseSensitiveMatch || "boolean" == typeof input.caseSensitiveMatch || _report(_exceptionable, {
33371
- path: _path + ".caseSensitiveMatch",
33372
- expected: "(boolean | undefined)",
33373
- value: input.caseSensitiveMatch
33374
- }),
33375
- void 0 === input.dot || "boolean" == typeof input.dot || _report(_exceptionable, {
33376
- path: _path + ".dot",
33377
- expected: "(boolean | undefined)",
33378
- value: input.dot
33379
- }),
33380
- void 0 === input.ignore || (Array.isArray(input.ignore) || _report(_exceptionable, {
33381
- path: _path + ".ignore",
33382
- expected: "(Array<string> | undefined)",
33383
- value: input.ignore
33384
- })) && input.ignore.map((elem, _index673)=>"string" == typeof elem || _report(_exceptionable, {
33385
- path: _path + ".ignore[" + _index673 + "]",
33386
- expected: "string",
33387
- value: elem
33388
- })).every((flag)=>flag) || _report(_exceptionable, {
33389
- path: _path + ".ignore",
33390
- expected: "(Array<string> | undefined)",
33391
- value: input.ignore
33392
- }),
33393
- 0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
33394
- if ([
33395
- "caseSensitiveMatch",
33396
- "dot",
33397
- "ignore"
33398
- ].some((prop)=>key === prop)) return true;
33399
- const value = input[key];
33400
- if (void 0 === value) return true;
33401
- return _report(_exceptionable, {
33402
- path: _path + typia_lib_internal_accessExpressionAsString_js__WEBPACK_IMPORTED_MODULE_0__._accessExpressionAsString(key),
33403
- expected: "undefined",
33404
- value: value
33405
- });
33406
- }).every((flag)=>flag)
33407
- ].every((flag)=>flag);
33408
- const _vo384 = (input, _path, _exceptionable = true)=>[
33409
33370
  void 0 === input.immutable || "boolean" == typeof input.immutable || _report(_exceptionable, {
33410
33371
  path: _path + ".immutable",
33411
33372
  expected: "(boolean | undefined)",
@@ -33420,8 +33381,8 @@ export const __webpack_modules__ = {
33420
33381
  path: _path + ".chunkHash",
33421
33382
  expected: "(Array<string> | undefined)",
33422
33383
  value: input.chunkHash
33423
- })) && input.chunkHash.map((elem, _index674)=>"string" == typeof elem || _report(_exceptionable, {
33424
- path: _path + ".chunkHash[" + _index674 + "]",
33384
+ })) && input.chunkHash.map((elem, _index673)=>"string" == typeof elem || _report(_exceptionable, {
33385
+ path: _path + ".chunkHash[" + _index673 + "]",
33425
33386
  expected: "string",
33426
33387
  value: elem
33427
33388
  })).every((flag)=>flag) || _report(_exceptionable, {
@@ -33433,8 +33394,8 @@ export const __webpack_modules__ = {
33433
33394
  path: _path + ".contentHash",
33434
33395
  expected: "(Array<string> | undefined)",
33435
33396
  value: input.contentHash
33436
- })) && input.contentHash.map((elem, _index675)=>"string" == typeof elem || _report(_exceptionable, {
33437
- path: _path + ".contentHash[" + _index675 + "]",
33397
+ })) && input.contentHash.map((elem, _index674)=>"string" == typeof elem || _report(_exceptionable, {
33398
+ path: _path + ".contentHash[" + _index674 + "]",
33438
33399
  expected: "string",
33439
33400
  value: elem
33440
33401
  })).every((flag)=>flag) || _report(_exceptionable, {
@@ -33456,7 +33417,7 @@ export const __webpack_modules__ = {
33456
33417
  path: _path + ".related",
33457
33418
  expected: "(RawRelated | undefined)",
33458
33419
  value: input.related
33459
- })) && _vo385(input.related, _path + ".related", _exceptionable) || _report(_exceptionable, {
33420
+ })) && _vo384(input.related, _path + ".related", _exceptionable) || _report(_exceptionable, {
33460
33421
  path: _path + ".related",
33461
33422
  expected: "(RawRelated | undefined)",
33462
33423
  value: input.related
@@ -33486,7 +33447,7 @@ export const __webpack_modules__ = {
33486
33447
  });
33487
33448
  }).every((flag)=>flag)
33488
33449
  ].every((flag)=>flag);
33489
- const _vo385 = (input, _path, _exceptionable = true)=>[
33450
+ const _vo384 = (input, _path, _exceptionable = true)=>[
33490
33451
  void 0 === input.sourceMap || "string" == typeof input.sourceMap || _report(_exceptionable, {
33491
33452
  path: _path + ".sourceMap",
33492
33453
  expected: "(string | undefined)",
@@ -33505,6 +33466,45 @@ export const __webpack_modules__ = {
33505
33466
  });
33506
33467
  }).every((flag)=>flag)
33507
33468
  ].every((flag)=>flag);
33469
+ const _vo385 = (input, _path, _exceptionable = true)=>[
33470
+ void 0 === input.caseSensitiveMatch || "boolean" == typeof input.caseSensitiveMatch || _report(_exceptionable, {
33471
+ path: _path + ".caseSensitiveMatch",
33472
+ expected: "(boolean | undefined)",
33473
+ value: input.caseSensitiveMatch
33474
+ }),
33475
+ void 0 === input.dot || "boolean" == typeof input.dot || _report(_exceptionable, {
33476
+ path: _path + ".dot",
33477
+ expected: "(boolean | undefined)",
33478
+ value: input.dot
33479
+ }),
33480
+ void 0 === input.ignore || (Array.isArray(input.ignore) || _report(_exceptionable, {
33481
+ path: _path + ".ignore",
33482
+ expected: "(Array<string> | undefined)",
33483
+ value: input.ignore
33484
+ })) && input.ignore.map((elem, _index675)=>"string" == typeof elem || _report(_exceptionable, {
33485
+ path: _path + ".ignore[" + _index675 + "]",
33486
+ expected: "string",
33487
+ value: elem
33488
+ })).every((flag)=>flag) || _report(_exceptionable, {
33489
+ path: _path + ".ignore",
33490
+ expected: "(Array<string> | undefined)",
33491
+ value: input.ignore
33492
+ }),
33493
+ 0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
33494
+ if ([
33495
+ "caseSensitiveMatch",
33496
+ "dot",
33497
+ "ignore"
33498
+ ].some((prop)=>key === prop)) return true;
33499
+ const value = input[key];
33500
+ if (void 0 === value) return true;
33501
+ return _report(_exceptionable, {
33502
+ path: _path + typia_lib_internal_accessExpressionAsString_js__WEBPACK_IMPORTED_MODULE_0__._accessExpressionAsString(key),
33503
+ expected: "undefined",
33504
+ value: value
33505
+ });
33506
+ }).every((flag)=>flag)
33507
+ ].every((flag)=>flag);
33508
33508
  const _vo386 = (input, _path, _exceptionable = true)=>[
33509
33509
  true,
33510
33510
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
@@ -34771,14 +34771,14 @@ export const __webpack_modules__ = {
34771
34771
  }).every((flag)=>flag)
34772
34772
  ].every((flag)=>flag);
34773
34773
  const _vo409 = (input, _path, _exceptionable = true)=>[
34774
- "string" == typeof input["__@toStringTag@6656"] || _report(_exceptionable, {
34775
- path: _path + "[\"__@toStringTag@6656\"]",
34774
+ "string" == typeof input["__@toStringTag@6653"] || _report(_exceptionable, {
34775
+ path: _path + "[\"__@toStringTag@6653\"]",
34776
34776
  expected: "string",
34777
- value: input["__@toStringTag@6656"]
34777
+ value: input["__@toStringTag@6653"]
34778
34778
  }),
34779
34779
  1 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
34780
34780
  if ([
34781
- "__@toStringTag@6656"
34781
+ "__@toStringTag@6653"
34782
34782
  ].some((prop)=>key === prop)) return true;
34783
34783
  const value = input[key];
34784
34784
  if (void 0 === value) return true;
@@ -34802,31 +34802,31 @@ export const __webpack_modules__ = {
34802
34802
  }),
34803
34803
  (null !== input.copy || _report(_exceptionable, {
34804
34804
  path: _path + ".copy",
34805
- expected: "(Array<string | ({ from: string; } & Partial<RawCopyPattern>)> | CopyRspackPluginOptions | undefined)",
34805
+ expected: "(Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)> | CopyRspackPluginOptions | undefined)",
34806
34806
  value: input.copy
34807
34807
  })) && (void 0 === input.copy || Array.isArray(input.copy) && input.copy.map((elem, _index701)=>(null !== elem || _report(_exceptionable, {
34808
34808
  path: _path + ".copy[" + _index701 + "]",
34809
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
34809
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
34810
34810
  value: elem
34811
34811
  })) && (void 0 !== elem || _report(_exceptionable, {
34812
34812
  path: _path + ".copy[" + _index701 + "]",
34813
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
34813
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
34814
34814
  value: elem
34815
34815
  })) && ("string" == typeof elem || ("object" == typeof elem && null !== elem || _report(_exceptionable, {
34816
34816
  path: _path + ".copy[" + _index701 + "]",
34817
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
34817
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
34818
34818
  value: elem
34819
34819
  })) && _vo382(elem, _path + ".copy[" + _index701 + "]", _exceptionable) || _report(_exceptionable, {
34820
34820
  path: _path + ".copy[" + _index701 + "]",
34821
- expected: "(string | { from: string; } & Partial<RawCopyPattern>)",
34821
+ expected: "(Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">> | string)",
34822
34822
  value: elem
34823
34823
  }))).every((flag)=>flag) || "object" == typeof input.copy && null !== input.copy && _vo381(input.copy, _path + ".copy", _exceptionable) || _report(_exceptionable, {
34824
34824
  path: _path + ".copy",
34825
- expected: "(Array<string | ({ from: string; } & Partial<RawCopyPattern>)> | CopyRspackPluginOptions | undefined)",
34825
+ expected: "(Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)> | CopyRspackPluginOptions | undefined)",
34826
34826
  value: input.copy
34827
34827
  }) || _report(_exceptionable, {
34828
34828
  path: _path + ".copy",
34829
- expected: "(Array<string | ({ from: string; } & Partial<RawCopyPattern>)> | CopyRspackPluginOptions | undefined)",
34829
+ expected: "(Array<string | (Pick<RawCopyPattern, \"from\"> & Partial<Omit<RawCopyPattern, \"from\">>)> | CopyRspackPluginOptions | undefined)",
34830
34830
  value: input.copy
34831
34831
  })),
34832
34832
  void 0 === input.cssModules || ("object" == typeof input.cssModules && null !== input.cssModules && false === Array.isArray(input.cssModules) || _report(_exceptionable, {
@@ -36121,11 +36121,11 @@ export const __webpack_modules__ = {
36121
36121
  }),
36122
36122
  void 0 === input.loaderInterceptorOptions || ("object" == typeof input.loaderInterceptorOptions && null !== input.loaderInterceptorOptions && false === Array.isArray(input.loaderInterceptorOptions) || _report(_exceptionable, {
36123
36123
  path: _path + ".loaderInterceptorOptions",
36124
- expected: "(__type.o117 | undefined)",
36124
+ expected: "(__type.o116 | undefined)",
36125
36125
  value: input.loaderInterceptorOptions
36126
36126
  })) && _vo445(input.loaderInterceptorOptions, _path + ".loaderInterceptorOptions", _exceptionable) || _report(_exceptionable, {
36127
36127
  path: _path + ".loaderInterceptorOptions",
36128
- expected: "(__type.o117 | undefined)",
36128
+ expected: "(__type.o116 | undefined)",
36129
36129
  value: input.loaderInterceptorOptions
36130
36130
  }),
36131
36131
  void 0 === input.disableClientServer || "boolean" == typeof input.disableClientServer || _report(_exceptionable, {
@@ -36181,11 +36181,11 @@ export const __webpack_modules__ = {
36181
36181
  }),
36182
36182
  void 0 === input.output || ("object" == typeof input.output && null !== input.output && false === Array.isArray(input.output) || _report(_exceptionable, {
36183
36183
  path: _path + ".output",
36184
- expected: "(__type.o118 | undefined)",
36184
+ expected: "(__type.o117 | undefined)",
36185
36185
  value: input.output
36186
36186
  })) && _vo460(input.output, _path + ".output", _exceptionable) || _report(_exceptionable, {
36187
36187
  path: _path + ".output",
36188
- expected: "(__type.o118 | undefined)",
36188
+ expected: "(__type.o117 | undefined)",
36189
36189
  value: input.output
36190
36190
  }),
36191
36191
  0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).map((key)=>{
@@ -37534,7 +37534,7 @@ export const __webpack_modules__ = {
37534
37534
  });
37535
37535
  })();
37536
37536
  const _vu3 = (input, _path, _exceptionable = true)=>(()=>{
37537
- if (void 0 !== input["__@toStringTag@6656"]) return _vo155(input, _path, _exceptionable);
37537
+ if (void 0 !== input["__@toStringTag@6653"]) return _vo155(input, _path, _exceptionable);
37538
37538
  if (void 0 !== input.pem) return _vo156(input, _path, _exceptionable);
37539
37539
  return _report(_exceptionable, {
37540
37540
  path: _path,
@@ -37543,7 +37543,7 @@ export const __webpack_modules__ = {
37543
37543
  });
37544
37544
  })();
37545
37545
  const _vu4 = (input, _path, _exceptionable = true)=>(()=>{
37546
- if (void 0 !== input["__@toStringTag@6656"]) return _vo155(input, _path, _exceptionable);
37546
+ if (void 0 !== input["__@toStringTag@6653"]) return _vo155(input, _path, _exceptionable);
37547
37547
  if (void 0 !== input.buf) return _vo157(input, _path, _exceptionable);
37548
37548
  return _report(_exceptionable, {
37549
37549
  path: _path,
@@ -37553,7 +37553,7 @@ export const __webpack_modules__ = {
37553
37553
  })();
37554
37554
  const _vu5 = (input, _path, _exceptionable = true)=>(()=>{
37555
37555
  if (void 0 !== input.name) return _vo408(input, _path, _exceptionable);
37556
- if (void 0 !== input["__@toStringTag@6656"]) return _vo409(input, _path, _exceptionable);
37556
+ if (void 0 !== input["__@toStringTag@6653"]) return _vo409(input, _path, _exceptionable);
37557
37557
  return _report(_exceptionable, {
37558
37558
  path: _path,
37559
37559
  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 __webpack_require__.e("src_cli_exit_ts").then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
22
+ const { exit } = await Promise.resolve().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__.i8
26
+ version: _version_js__WEBPACK_IMPORTED_MODULE_2__.version
27
27
  });
28
28
  }
29
29
  };
@@ -5,8 +5,8 @@ export const __webpack_modules__ = {
5
5
  "./src/plugins/dev.plugin.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
6
  __webpack_require__.r(__webpack_exports__);
7
7
  __webpack_require__.d(__webpack_exports__, {
8
- findIp: ()=>findIp,
9
- pluginDev: ()=>pluginDev
8
+ pluginDev: ()=>pluginDev,
9
+ findIp: ()=>findIp
10
10
  });
11
11
  var external_node_module_ = __webpack_require__("node:module");
12
12
  var external_node_path_ = __webpack_require__("node:path");
@@ -12,7 +12,7 @@ export const __webpack_modules__ = {
12
12
  const debugPlugins = Object.freeze([
13
13
  __webpack_require__.e("src_plugins_emitOnErrors_plugin_ts").then(__webpack_require__.bind(__webpack_require__, "./src/plugins/emitOnErrors.plugin.ts")).then(({ pluginEmitOnErrors })=>pluginEmitOnErrors()),
14
14
  Promise.all([
15
- __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be"),
15
+ __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"),
16
16
  __webpack_require__.e("src_plugins_inspect_plugin_ts")
17
17
  ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts")).then(({ pluginInspect })=>pluginInspect(config)),
18
18
  __webpack_require__.e("src_plugins_stats_plugin_ts").then(__webpack_require__.bind(__webpack_require__, "./src/plugins/stats.plugin.ts")).then(({ pluginStats })=>pluginStats())
@@ -7,10 +7,8 @@ export const __webpack_modules__ = {
7
7
  __webpack_require__.d(__webpack_exports__, {
8
8
  pluginRsdoctor: ()=>pluginRsdoctor
9
9
  });
10
- var core_ = __webpack_require__("@rsbuild/core");
11
- function isCI() {
12
- return !!process.env['CI'] && 'false' !== process.env['CI'];
13
- }
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");
14
12
  function pluginRsdoctor(options) {
15
13
  return {
16
14
  name: 'lynx:rsbuild:rsdoctor',
@@ -27,7 +25,7 @@ export const __webpack_modules__ = {
27
25
  if (registered) continue;
28
26
  config.plugins ??= [];
29
27
  const defaultOptions = {
30
- disableClientServer: isCI(),
28
+ disableClientServer: (0, _utils_is_ci_js__WEBPACK_IMPORTED_MODULE_1__.y)(),
31
29
  supports: {
32
30
  banner: true
33
31
  },
@@ -42,12 +40,20 @@ export const __webpack_modules__ = {
42
40
  }
43
41
  }
44
42
  };
45
- config.plugins.push(new RsdoctorRspackPlugin((0, core_.mergeRsbuildConfig)(defaultOptions, options)));
43
+ config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.mergeRsbuildConfig)(defaultOptions, options)));
46
44
  }
47
- core_.logger.info("Rsdoctor is enabled.");
45
+ _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.info("Rsdoctor is enabled.");
48
46
  });
49
47
  }
50
48
  };
51
49
  }
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
+ }
52
58
  }
53
59
  };
@@ -4,9 +4,9 @@ export const __webpack_ids__ = [
4
4
  export const __webpack_modules__ = {
5
5
  "./src/version.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
6
  __webpack_require__.d(__webpack_exports__, {
7
- rsbuildVersion: ()=>core_.version,
8
7
  version: ()=>version,
9
- rspackVersion: ()=>rspackVersion
8
+ rspackVersion: ()=>rspackVersion,
9
+ rsbuildVersion: ()=>core_.version
10
10
  });
11
11
  var core_ = __webpack_require__("@rsbuild/core");
12
12
  var package_namespaceObject = {
@@ -1,5 +1,5 @@
1
1
  export const __webpack_ids__ = [
2
- "vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-b558be"
2
+ "vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"
3
3
  ];
4
4
  export const __webpack_modules__ = {
5
5
  "../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/array.js": function(__unused_webpack_module, exports) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/rspeedy-canary",
3
- "version": "0.9.9-canary-20250605-2d36a78f",
3
+ "version": "0.9.9-canary-20250605-e931e567",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",