@lynx-js/rspeedy 0.12.0 → 0.12.2
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 +18 -0
- package/dist/0~src_cli_exit_ts.js +3 -3
- package/dist/0~src_config_validate_ts.js +2022 -1954
- package/dist/0~src_plugins_api_plugin_ts.js +9 -9
- package/dist/0~src_plugins_chunkLoading_plugin_ts.js +3 -3
- package/dist/0~src_plugins_dev_plugin_ts.js +3 -3
- package/dist/0~src_plugins_emitOnErrors_plugin_ts.js +3 -3
- package/dist/0~src_plugins_index_ts.js +6 -6
- package/dist/0~src_plugins_inspect_plugin_ts.js +4 -4
- package/dist/0~src_plugins_minify_plugin_ts.js +6 -6
- package/dist/0~src_plugins_optimization_plugin_ts.js +3 -3
- package/dist/0~src_plugins_output_plugin_ts.js +6 -6
- package/dist/0~src_plugins_resolve_plugin_ts.js +3 -3
- package/dist/0~src_plugins_rsdoctor_plugin_ts.js +3 -3
- package/dist/0~src_plugins_sourcemap_plugin_ts.js +3 -3
- package/dist/0~src_plugins_swc_plugin_ts.js +6 -6
- package/dist/0~src_plugins_target_plugin_ts.js +4 -4
- package/dist/0~vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js.js +3 -3
- package/dist/0~vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc.js +8 -8
- package/dist/1~events-fs-fs_promises-os-path-stream.js +20 -20
- package/dist/1~node_child_process-node_events-node_fs-node_path.js +14 -14
- package/dist/1~src_cli_build_ts.js +28 -28
- package/dist/1~src_cli_commands_ts.js +12 -12
- package/dist/1~src_cli_dev_ts.js +24 -24
- package/dist/1~src_cli_inspect_ts.js +17 -17
- package/dist/1~src_cli_preview_ts.js +21 -21
- package/dist/1~src_config_validate_ts.js +2022 -1954
- package/dist/1~src_plugins_api_plugin_ts.js +9 -9
- package/dist/1~src_plugins_chunkLoading_plugin_ts.js +3 -3
- package/dist/1~src_plugins_dev_plugin_ts.js +3 -3
- package/dist/1~src_plugins_emitOnErrors_plugin_ts.js +3 -3
- package/dist/1~src_plugins_index_ts.js +6 -6
- package/dist/1~src_plugins_inspect_plugin_ts.js +4 -4
- package/dist/1~src_plugins_minify_plugin_ts.js +6 -6
- package/dist/1~src_plugins_optimization_plugin_ts.js +3 -3
- package/dist/1~src_plugins_output_plugin_ts.js +6 -6
- package/dist/1~src_plugins_resolve_plugin_ts.js +3 -3
- package/dist/1~src_plugins_rsdoctor_plugin_ts.js +9 -9
- package/dist/1~src_plugins_sourcemap_plugin_ts.js +3 -3
- package/dist/1~src_plugins_swc_plugin_ts.js +6 -6
- package/dist/1~src_plugins_target_plugin_ts.js +4 -4
- package/dist/1~src_version_ts.js +4 -4
- package/dist/1~vendors-node_modules_pnpm_chokidar_4_0_3_node_modules_chokidar_esm_index_js.js +3 -3
- package/dist/1~vendors-node_modules_pnpm_commander_13_1_0_node_modules_commander_esm_mjs.js +12 -12
- package/dist/1~vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js.js +3 -3
- package/dist/1~vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc.js +8 -8
- package/dist/cli/main.js +21 -21
- package/dist/cli/start.js +1 -1
- package/dist/index.js +22 -22
- package/package.json +3 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_api_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_api_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/api.plugin.ts"
|
|
6
|
+
"./src/plugins/api.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginAPI: ()=>pluginAPI
|
|
9
9
|
});
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
10
|
+
var _rsbuild_core__rspack_import_0 = __webpack_require__("@rsbuild/core");
|
|
11
|
+
var _debug_js__rspack_import_1 = __webpack_require__("./src/debug.ts");
|
|
12
|
+
var _version_js__rspack_import_2 = __webpack_require__("./src/version.ts");
|
|
13
13
|
const sAPI = Symbol.for('rspeedy.api');
|
|
14
14
|
function pluginAPI(config) {
|
|
15
15
|
return {
|
|
@@ -17,13 +17,13 @@ export const __webpack_modules__ = {
|
|
|
17
17
|
setup (api) {
|
|
18
18
|
api.expose(sAPI, {
|
|
19
19
|
config,
|
|
20
|
-
debug:
|
|
20
|
+
debug: _debug_js__rspack_import_1.Yz,
|
|
21
21
|
async exit (code) {
|
|
22
22
|
const { exit } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "./src/cli/exit.ts"));
|
|
23
23
|
return exit(code);
|
|
24
24
|
},
|
|
25
|
-
logger:
|
|
26
|
-
version:
|
|
25
|
+
logger: _rsbuild_core__rspack_import_0.logger,
|
|
26
|
+
version: _version_js__rspack_import_2.version
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LynxCacheEventsPlugin } from "@lynx-js/cache-events-webpack-plugin";
|
|
2
2
|
import { ChunkLoadingWebpackPlugin } from "@lynx-js/chunk-loading-webpack-plugin";
|
|
3
|
-
export const
|
|
4
|
-
export const
|
|
3
|
+
export const __rspack_esm_id = "src_plugins_chunkLoading_plugin_ts";
|
|
4
|
+
export const __rspack_esm_ids = [
|
|
5
5
|
"src_plugins_chunkLoading_plugin_ts"
|
|
6
6
|
];
|
|
7
7
|
export const __webpack_modules__ = {
|
|
8
|
-
"./src/plugins/chunkLoading.plugin.ts"
|
|
8
|
+
"./src/plugins/chunkLoading.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9
9
|
__webpack_require__.d(__webpack_exports__, {
|
|
10
10
|
pluginChunkLoading: ()=>pluginChunkLoading
|
|
11
11
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
export const
|
|
3
|
-
export const
|
|
2
|
+
export const __rspack_esm_id = "src_plugins_dev_plugin_ts";
|
|
3
|
+
export const __rspack_esm_ids = [
|
|
4
4
|
"src_plugins_dev_plugin_ts"
|
|
5
5
|
];
|
|
6
6
|
export const __webpack_modules__ = {
|
|
7
|
-
"./src/plugins/dev.plugin.ts"
|
|
7
|
+
"./src/plugins/dev.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
pluginDev: ()=>pluginDev
|
|
10
10
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_emitOnErrors_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_emitOnErrors_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/emitOnErrors.plugin.ts"
|
|
6
|
+
"./src/plugins/emitOnErrors.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginEmitOnErrors: ()=>pluginEmitOnErrors
|
|
9
9
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_index_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_index_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/index.ts"
|
|
6
|
+
"./src/plugins/index.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.r(__webpack_exports__);
|
|
8
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
applyDefaultPlugins: ()=>applyDefaultPlugins
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var _debug_js__rspack_import_0 = __webpack_require__("./src/debug.ts");
|
|
12
12
|
async function applyDebugPlugins(rsbuildInstance, config) {
|
|
13
13
|
const debugPlugins = Object.freeze([
|
|
14
14
|
__webpack_require__.e("src_plugins_emitOnErrors_plugin_ts").then(__webpack_require__.bind(__webpack_require__, "./src/plugins/emitOnErrors.plugin.ts")).then(({ pluginEmitOnErrors })=>pluginEmitOnErrors()),
|
|
@@ -38,8 +38,8 @@ export const __webpack_modules__ = {
|
|
|
38
38
|
rsbuildInstance.addPlugins(plugins);
|
|
39
39
|
})
|
|
40
40
|
];
|
|
41
|
-
if ((0,
|
|
42
|
-
(0,
|
|
41
|
+
if ((0, _debug_js__rspack_import_0._o)()) {
|
|
42
|
+
(0, _debug_js__rspack_import_0.Yz)('apply Rspeedy default debug plugins');
|
|
43
43
|
promises.push(applyDebugPlugins(rsbuildInstance, config));
|
|
44
44
|
}
|
|
45
45
|
await Promise.all(promises);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
2
|
-
export const
|
|
3
|
-
export const
|
|
2
|
+
export const __rspack_esm_id = "src_plugins_inspect_plugin_ts";
|
|
3
|
+
export const __rspack_esm_ids = [
|
|
4
4
|
"src_plugins_inspect_plugin_ts"
|
|
5
5
|
];
|
|
6
6
|
export const __webpack_modules__ = {
|
|
7
|
-
"./src/config/output/dist-path.ts"
|
|
7
|
+
"./src/config/output/dist-path.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
z: ()=>DEFAULT_DIST_PATH_INTERMEDIATE
|
|
10
10
|
});
|
|
11
11
|
const DEFAULT_DIST_PATH_INTERMEDIATE = '.rspeedy';
|
|
12
12
|
},
|
|
13
|
-
"./src/plugins/inspect.plugin.ts"
|
|
13
|
+
"./src/plugins/inspect.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14
14
|
__webpack_require__.d(__webpack_exports__, {
|
|
15
15
|
inspectRspeedyConfig: ()=>inspectRspeedyConfig,
|
|
16
16
|
pluginInspect: ()=>pluginInspect
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_minify_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_minify_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/minify.plugin.ts"
|
|
6
|
+
"./src/plugins/minify.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginMinify: ()=>pluginMinify
|
|
9
9
|
});
|
|
10
|
-
var
|
|
10
|
+
var _debug_js__rspack_import_0 = __webpack_require__("./src/debug.ts");
|
|
11
11
|
function pluginMinify(options) {
|
|
12
12
|
const defaultConfig = Object.freeze({
|
|
13
13
|
output: {
|
|
@@ -57,7 +57,7 @@ export const __webpack_modules__ = {
|
|
|
57
57
|
setup (api) {
|
|
58
58
|
api.modifyRsbuildConfig((config, { mergeRsbuildConfig })=>{
|
|
59
59
|
if (false === options) {
|
|
60
|
-
(0,
|
|
60
|
+
(0, _debug_js__rspack_import_0.Yz)("minification disabled");
|
|
61
61
|
return mergeRsbuildConfig(config, {
|
|
62
62
|
output: {
|
|
63
63
|
minify: false
|
|
@@ -69,7 +69,7 @@ export const __webpack_modules__ = {
|
|
|
69
69
|
defaultConfig
|
|
70
70
|
];
|
|
71
71
|
if (true !== options && void 0 !== options) {
|
|
72
|
-
(0,
|
|
72
|
+
(0, _debug_js__rspack_import_0.Yz)("merging minification options");
|
|
73
73
|
configs.push({
|
|
74
74
|
output: {
|
|
75
75
|
minify: options
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_optimization_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_optimization_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/optimization.plugin.ts"
|
|
6
|
+
"./src/plugins/optimization.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginOptimization: ()=>pluginOptimization
|
|
9
9
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_output_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_output_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/config/output/dist-path.ts"
|
|
6
|
+
"./src/config/output/dist-path.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
z: ()=>DEFAULT_DIST_PATH_INTERMEDIATE
|
|
9
9
|
});
|
|
10
10
|
const DEFAULT_DIST_PATH_INTERMEDIATE = '.rspeedy';
|
|
11
11
|
},
|
|
12
|
-
"./src/plugins/output.plugin.ts"
|
|
12
|
+
"./src/plugins/output.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13
13
|
__webpack_require__.d(__webpack_exports__, {
|
|
14
14
|
pluginOutput: ()=>pluginOutput
|
|
15
15
|
});
|
|
16
|
-
var
|
|
16
|
+
var _config_output_dist_path_js__rspack_import_0 = __webpack_require__("./src/config/output/dist-path.ts");
|
|
17
17
|
const defaultFilenameOptions = Object.freeze({
|
|
18
18
|
css: '[name]/[name].css'
|
|
19
19
|
});
|
|
20
20
|
const defaultDistPathOptions = Object.freeze({
|
|
21
|
-
css:
|
|
21
|
+
css: _config_output_dist_path_js__rspack_import_0.z
|
|
22
22
|
});
|
|
23
23
|
function pluginOutput(options) {
|
|
24
24
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_resolve_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_resolve_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/resolve.plugin.ts"
|
|
6
|
+
"./src/plugins/resolve.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginResolve: ()=>pluginResolve
|
|
9
9
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_rsdoctor_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_rsdoctor_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/rsdoctor.plugin.ts"
|
|
6
|
+
"./src/plugins/rsdoctor.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginRsdoctor: ()=>pluginRsdoctor
|
|
9
9
|
});
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var _rsbuild_core__rspack_import_0 = __webpack_require__("@rsbuild/core");
|
|
11
|
+
var _utils_is_ci_js__rspack_import_1 = __webpack_require__("./src/utils/is-ci.ts");
|
|
12
12
|
function pluginRsdoctor(options) {
|
|
13
13
|
return {
|
|
14
14
|
name: 'lynx:rsbuild:rsdoctor',
|
|
@@ -25,7 +25,7 @@ export const __webpack_modules__ = {
|
|
|
25
25
|
if (registered) continue;
|
|
26
26
|
config.plugins ??= [];
|
|
27
27
|
const defaultOptions = {
|
|
28
|
-
disableClientServer: (0,
|
|
28
|
+
disableClientServer: (0, _utils_is_ci_js__rspack_import_1.J)(),
|
|
29
29
|
supports: {
|
|
30
30
|
banner: true
|
|
31
31
|
},
|
|
@@ -40,15 +40,15 @@ export const __webpack_modules__ = {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
config.plugins.push(new RsdoctorRspackPlugin((0,
|
|
43
|
+
config.plugins.push(new RsdoctorRspackPlugin((0, _rsbuild_core__rspack_import_0.mergeRsbuildConfig)(defaultOptions, options)));
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
_rsbuild_core__rspack_import_0.logger.info("Rsdoctor is enabled.");
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"./src/utils/is-ci.ts"
|
|
51
|
+
"./src/utils/is-ci.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
52
52
|
__webpack_require__.d(__webpack_exports__, {
|
|
53
53
|
J: ()=>isCI
|
|
54
54
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_sourcemap_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_sourcemap_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/sourcemap.plugin.ts"
|
|
6
|
+
"./src/plugins/sourcemap.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginSourcemap: ()=>pluginSourcemap
|
|
9
9
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_swc_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_swc_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/swc.plugin.ts"
|
|
6
|
+
"./src/plugins/swc.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginSwc: ()=>pluginSwc
|
|
9
9
|
});
|
|
10
|
-
var
|
|
10
|
+
var _utils_getESVersionTarget_js__rspack_import_0 = __webpack_require__("./src/utils/getESVersionTarget.ts");
|
|
11
11
|
function pluginSwc() {
|
|
12
12
|
return {
|
|
13
13
|
name: 'lynx:rsbuild:swc',
|
|
@@ -19,7 +19,7 @@ export const __webpack_modules__ = {
|
|
|
19
19
|
swc (config) {
|
|
20
20
|
delete config.env;
|
|
21
21
|
config.jsc ??= {};
|
|
22
|
-
config.jsc.target = (0,
|
|
22
|
+
config.jsc.target = (0, _utils_getESVersionTarget_js__rspack_import_0.y)(isProd);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
});
|
|
@@ -28,7 +28,7 @@ export const __webpack_modules__ = {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"./src/utils/getESVersionTarget.ts"
|
|
31
|
+
"./src/utils/getESVersionTarget.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
32
32
|
__webpack_require__.d(__webpack_exports__, {
|
|
33
33
|
y: ()=>getESVersionTarget
|
|
34
34
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_plugins_target_plugin_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_plugins_target_plugin_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/plugins/target.plugin.ts"
|
|
6
|
+
"./src/plugins/target.plugin.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
pluginTarget: ()=>pluginTarget
|
|
9
9
|
});
|
|
@@ -28,7 +28,7 @@ export const __webpack_modules__ = {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"./src/utils/getESVersionTarget.ts"
|
|
31
|
+
"./src/utils/getESVersionTarget.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
32
32
|
__webpack_require__.d(__webpack_exports__, {
|
|
33
33
|
y: ()=>getESVersionTarget
|
|
34
34
|
});
|
package/dist/1~src_version_ts.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "src_version_ts";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"src_version_ts"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"./src/version.ts"
|
|
6
|
+
"./src/version.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
version: ()=>version,
|
|
9
9
|
rspackVersion: ()=>rspackVersion,
|
|
@@ -11,7 +11,7 @@ export const __webpack_modules__ = {
|
|
|
11
11
|
});
|
|
12
12
|
var core_ = __webpack_require__("@rsbuild/core");
|
|
13
13
|
var package_namespaceObject = {
|
|
14
|
-
rE: "0.12.
|
|
14
|
+
rE: "0.12.2"
|
|
15
15
|
};
|
|
16
16
|
const version = package_namespaceObject.rE;
|
|
17
17
|
const rspackVersion = core_.rspack.rspackVersion;
|
package/dist/1~vendors-node_modules_pnpm_chokidar_4_0_3_node_modules_chokidar_esm_index_js.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*! For license information please see 1~vendors-node_modules_pnpm_chokidar_4_0_3_node_modules_chokidar_esm_index_js.js.LICENSE.txt */
|
|
2
|
-
export const
|
|
3
|
-
export const
|
|
2
|
+
export const __rspack_esm_id = "vendors-node_modules_pnpm_chokidar_4_0_3_node_modules_chokidar_esm_index_js";
|
|
3
|
+
export const __rspack_esm_ids = [
|
|
4
4
|
"vendors-node_modules_pnpm_chokidar_4_0_3_node_modules_chokidar_esm_index_js"
|
|
5
5
|
];
|
|
6
6
|
export const __webpack_modules__ = {
|
|
7
|
-
"../../../node_modules/.pnpm/chokidar@4.0.3/node_modules/chokidar/esm/index.js"
|
|
7
|
+
"../../../node_modules/.pnpm/chokidar@4.0.3/node_modules/chokidar/esm/index.js" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
8
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
default: ()=>chokidar_esm
|
|
10
10
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "vendors-node_modules_pnpm_commander_13_1_0_node_modules_commander_esm_mjs";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"vendors-node_modules_pnpm_commander_13_1_0_node_modules_commander_esm_mjs"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/index.js"
|
|
6
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/index.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
7
7
|
const { Argument } = __webpack_require__("../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/argument.js");
|
|
8
8
|
const { Command } = __webpack_require__("../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/command.js");
|
|
9
9
|
const { CommanderError, InvalidArgumentError } = __webpack_require__("../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/error.js");
|
|
@@ -21,7 +21,7 @@ export const __webpack_modules__ = {
|
|
|
21
21
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
22
22
|
exports.InvalidOptionArgumentError = InvalidArgumentError;
|
|
23
23
|
},
|
|
24
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/argument.js"
|
|
24
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/argument.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
25
25
|
const { InvalidArgumentError } = __webpack_require__("../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/error.js");
|
|
26
26
|
class Argument {
|
|
27
27
|
constructor(name, description){
|
|
@@ -93,7 +93,7 @@ export const __webpack_modules__ = {
|
|
|
93
93
|
exports.Argument = Argument;
|
|
94
94
|
exports.humanReadableArgName = humanReadableArgName;
|
|
95
95
|
},
|
|
96
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/command.js"
|
|
96
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/command.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
97
97
|
const EventEmitter = __webpack_require__("node:events").EventEmitter;
|
|
98
98
|
const childProcess = __webpack_require__("node:child_process");
|
|
99
99
|
const path = __webpack_require__("node:path");
|
|
@@ -1248,7 +1248,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1248
1248
|
exports.Command = Command;
|
|
1249
1249
|
exports.useColor = useColor;
|
|
1250
1250
|
},
|
|
1251
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/error.js"
|
|
1251
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/error.js" (__unused_webpack_module, exports) {
|
|
1252
1252
|
class CommanderError extends Error {
|
|
1253
1253
|
constructor(exitCode, code, message){
|
|
1254
1254
|
super(message);
|
|
@@ -1269,7 +1269,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1269
1269
|
exports.CommanderError = CommanderError;
|
|
1270
1270
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
1271
1271
|
},
|
|
1272
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/help.js"
|
|
1272
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/help.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
1273
1273
|
const { humanReadableArgName } = __webpack_require__("../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/argument.js");
|
|
1274
1274
|
class Help {
|
|
1275
1275
|
constructor(){
|
|
@@ -1539,7 +1539,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1539
1539
|
exports.Help = Help;
|
|
1540
1540
|
exports.stripColor = stripColor;
|
|
1541
1541
|
},
|
|
1542
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/option.js"
|
|
1542
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/option.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
1543
1543
|
const { InvalidArgumentError } = __webpack_require__("../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/error.js");
|
|
1544
1544
|
class Option {
|
|
1545
1545
|
constructor(flags, description){
|
|
@@ -1691,7 +1691,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1691
1691
|
exports.Option = Option;
|
|
1692
1692
|
exports.DualOptions = DualOptions;
|
|
1693
1693
|
},
|
|
1694
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js"
|
|
1694
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js" (__unused_webpack_module, exports) {
|
|
1695
1695
|
const maxDistance = 3;
|
|
1696
1696
|
function editDistance(a, b) {
|
|
1697
1697
|
if (Math.abs(a.length - b.length) > maxDistance) return Math.max(a.length, b.length);
|
|
@@ -1741,7 +1741,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1741
1741
|
}
|
|
1742
1742
|
exports.suggestSimilar = suggestSimilar;
|
|
1743
1743
|
},
|
|
1744
|
-
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/esm.mjs"
|
|
1744
|
+
"../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/esm.mjs" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
1745
1745
|
__webpack_require__.r(__webpack_exports__);
|
|
1746
1746
|
__webpack_require__.d(__webpack_exports__, {
|
|
1747
1747
|
Argument: ()=>Argument,
|
|
@@ -1756,7 +1756,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1756
1756
|
createOption: ()=>createOption,
|
|
1757
1757
|
program: ()=>program
|
|
1758
1758
|
});
|
|
1759
|
-
var
|
|
1760
|
-
const { program, createCommand, createArgument, createOption, CommanderError, InvalidArgumentError, InvalidOptionArgumentError, Command, Argument, Option, Help } =
|
|
1759
|
+
var _index_js__rspack_import_0 = __webpack_require__("../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/index.js");
|
|
1760
|
+
const { program, createCommand, createArgument, createOption, CommanderError, InvalidArgumentError, InvalidOptionArgumentError, Command, Argument, Option, Help } = _index_js__rspack_import_0;
|
|
1761
1761
|
}
|
|
1762
1762
|
};
|
package/dist/1~vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"vendors-node_modules_pnpm_ipaddr_js_2_2_0_node_modules_ipaddr_js_lib_ipaddr_js"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"../../../node_modules/.pnpm/ipaddr.js@2.2.0/node_modules/ipaddr.js/lib/ipaddr.js"
|
|
6
|
+
"../../../node_modules/.pnpm/ipaddr.js@2.2.0/node_modules/ipaddr.js/lib/ipaddr.js" (module) {
|
|
7
7
|
(function(root) {
|
|
8
8
|
'use strict';
|
|
9
9
|
const ipv4Part = '(0?\\d+|0x[a-f0-9]+)';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const
|
|
2
|
-
export const
|
|
1
|
+
export const __rspack_esm_id = "vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc";
|
|
2
|
+
export const __rspack_esm_ids = [
|
|
3
3
|
"vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"
|
|
4
4
|
];
|
|
5
5
|
export const __webpack_modules__ = {
|
|
6
|
-
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/array.js"
|
|
6
|
+
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/array.js" (__unused_webpack_module, exports) {
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
@@ -19,7 +19,7 @@ export const __webpack_modules__ = {
|
|
|
19
19
|
};
|
|
20
20
|
exports.arrayToString = arrayToString;
|
|
21
21
|
},
|
|
22
|
-
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/function.js"
|
|
22
|
+
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/function.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
23
23
|
Object.defineProperty(exports, "__esModule", {
|
|
24
24
|
value: true
|
|
25
25
|
});
|
|
@@ -212,7 +212,7 @@ export const __webpack_modules__ = {
|
|
|
212
212
|
}
|
|
213
213
|
exports.FunctionParser = FunctionParser;
|
|
214
214
|
},
|
|
215
|
-
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/index.js"
|
|
215
|
+
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/index.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
216
216
|
exports.stringify = void 0;
|
|
217
217
|
const stringify_1 = __webpack_require__("../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/stringify.js");
|
|
218
218
|
const quote_1 = __webpack_require__("../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/quote.js");
|
|
@@ -272,7 +272,7 @@ export const __webpack_modules__ = {
|
|
|
272
272
|
return (value, space, next, key)=>replacer(value, space, (value)=>stringify_1.toString(value, space, next, key), key);
|
|
273
273
|
}
|
|
274
274
|
},
|
|
275
|
-
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/object.js"
|
|
275
|
+
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/object.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
276
276
|
Object.defineProperty(exports, "__esModule", {
|
|
277
277
|
value: true
|
|
278
278
|
});
|
|
@@ -321,7 +321,7 @@ export const __webpack_modules__ = {
|
|
|
321
321
|
"[object Window]": globalToString
|
|
322
322
|
};
|
|
323
323
|
},
|
|
324
|
-
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/quote.js"
|
|
324
|
+
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/quote.js" (__unused_webpack_module, exports) {
|
|
325
325
|
Object.defineProperty(exports, "__esModule", {
|
|
326
326
|
value: true
|
|
327
327
|
});
|
|
@@ -386,7 +386,7 @@ export const __webpack_modules__ = {
|
|
|
386
386
|
}
|
|
387
387
|
exports.stringifyPath = stringifyPath;
|
|
388
388
|
},
|
|
389
|
-
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/stringify.js"
|
|
389
|
+
"../../../node_modules/.pnpm/javascript-stringify@2.1.0/node_modules/javascript-stringify/dist/stringify.js" (__unused_webpack_module, exports, __webpack_require__) {
|
|
390
390
|
Object.defineProperty(exports, "__esModule", {
|
|
391
391
|
value: true
|
|
392
392
|
});
|