@rsbuild/core 1.3.10 → 1.3.11
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.
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
7381: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(6335);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(10).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
6335: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
11
11
|
"use strict";
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports["default"] = loader;
|
|
14
14
|
var _postcss = _interopRequireDefault(__nccwpck_require__(9409));
|
|
15
|
-
var _plugins = __nccwpck_require__(
|
|
16
|
-
var _utils = __nccwpck_require__(
|
|
15
|
+
var _plugins = __nccwpck_require__(3716);
|
|
16
|
+
var _utils = __nccwpck_require__(10);
|
|
17
17
|
function _interopRequireDefault(obj) {
|
|
18
18
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
19
19
|
}
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
callback(null, `${importCode}${moduleCode}${exportCode}`);
|
|
237
237
|
}
|
|
238
238
|
},
|
|
239
|
-
|
|
239
|
+
3716: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
240
240
|
"use strict";
|
|
241
241
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
242
242
|
Object.defineProperty(exports, "icssParser", {
|
|
@@ -258,22 +258,20 @@
|
|
|
258
258
|
},
|
|
259
259
|
});
|
|
260
260
|
var _postcssImportParser = _interopRequireDefault(
|
|
261
|
-
__nccwpck_require__(
|
|
261
|
+
__nccwpck_require__(9935),
|
|
262
262
|
);
|
|
263
|
-
var _postcssIcssParser = _interopRequireDefault(
|
|
264
|
-
|
|
265
|
-
);
|
|
266
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(1038));
|
|
263
|
+
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(834));
|
|
264
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(7013));
|
|
267
265
|
function _interopRequireDefault(obj) {
|
|
268
266
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
269
267
|
}
|
|
270
268
|
},
|
|
271
|
-
|
|
269
|
+
834: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
272
270
|
"use strict";
|
|
273
271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
274
272
|
exports["default"] = void 0;
|
|
275
273
|
var _icssUtils = __nccwpck_require__(4531);
|
|
276
|
-
var _utils = __nccwpck_require__(
|
|
274
|
+
var _utils = __nccwpck_require__(10);
|
|
277
275
|
const plugin = (options = {}) => ({
|
|
278
276
|
postcssPlugin: "postcss-icss-parser",
|
|
279
277
|
async OnceExit(root) {
|
|
@@ -372,14 +370,14 @@
|
|
|
372
370
|
plugin.postcss = true;
|
|
373
371
|
var _default = (exports["default"] = plugin);
|
|
374
372
|
},
|
|
375
|
-
|
|
373
|
+
9935: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
376
374
|
"use strict";
|
|
377
375
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
378
376
|
exports["default"] = void 0;
|
|
379
377
|
var _postcssValueParser = _interopRequireDefault(
|
|
380
378
|
__nccwpck_require__(2948),
|
|
381
379
|
);
|
|
382
|
-
var _utils = __nccwpck_require__(
|
|
380
|
+
var _utils = __nccwpck_require__(10);
|
|
383
381
|
function _interopRequireDefault(obj) {
|
|
384
382
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
385
383
|
}
|
|
@@ -684,14 +682,14 @@
|
|
|
684
682
|
plugin.postcss = true;
|
|
685
683
|
var _default = (exports["default"] = plugin);
|
|
686
684
|
},
|
|
687
|
-
|
|
685
|
+
7013: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
688
686
|
"use strict";
|
|
689
687
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
690
688
|
exports["default"] = void 0;
|
|
691
689
|
var _postcssValueParser = _interopRequireDefault(
|
|
692
690
|
__nccwpck_require__(2948),
|
|
693
691
|
);
|
|
694
|
-
var _utils = __nccwpck_require__(
|
|
692
|
+
var _utils = __nccwpck_require__(10);
|
|
695
693
|
function _interopRequireDefault(obj) {
|
|
696
694
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
697
695
|
}
|
|
@@ -1034,7 +1032,7 @@
|
|
|
1034
1032
|
plugin.postcss = true;
|
|
1035
1033
|
var _default = (exports["default"] = plugin);
|
|
1036
1034
|
},
|
|
1037
|
-
|
|
1035
|
+
10: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1038
1036
|
"use strict";
|
|
1039
1037
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1040
1038
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -8098,6 +8096,6 @@
|
|
|
8098
8096
|
}
|
|
8099
8097
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
8100
8098
|
__nccwpck_require__.ab = __dirname + "/";
|
|
8101
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
8099
|
+
var __webpack_exports__ = __nccwpck_require__(7381);
|
|
8102
8100
|
module.exports = __webpack_exports__;
|
|
8103
8101
|
})();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
971: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(232);
|
|
6
6
|
const compilerMap = new WeakMap();
|
|
7
7
|
class CachedChildCompilation {
|
|
8
8
|
constructor(compiler) {
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
}
|
|
305
305
|
module.exports = { CachedChildCompilation };
|
|
306
306
|
},
|
|
307
|
-
|
|
307
|
+
232: (module) => {
|
|
308
308
|
"use strict";
|
|
309
309
|
class HtmlWebpackChildCompiler {
|
|
310
310
|
constructor(templates) {
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
}
|
|
474
474
|
module.exports = { HtmlWebpackChildCompiler };
|
|
475
475
|
},
|
|
476
|
-
|
|
476
|
+
592: (module) => {
|
|
477
477
|
"use strict";
|
|
478
478
|
module.exports = {};
|
|
479
479
|
module.exports.none = (chunks) => chunks;
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
};
|
|
493
493
|
module.exports.auto = module.exports.none;
|
|
494
494
|
},
|
|
495
|
-
|
|
495
|
+
151: (module) => {
|
|
496
496
|
"use strict";
|
|
497
497
|
module.exports = function (err) {
|
|
498
498
|
return {
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
};
|
|
514
514
|
};
|
|
515
515
|
},
|
|
516
|
-
|
|
516
|
+
366: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
517
517
|
"use strict";
|
|
518
518
|
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(408);
|
|
519
519
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
}
|
|
540
540
|
module.exports = { getHtmlRspackPluginHooks };
|
|
541
541
|
},
|
|
542
|
-
|
|
542
|
+
603: (module) => {
|
|
543
543
|
const voidTags = [
|
|
544
544
|
"area",
|
|
545
545
|
"base",
|
|
@@ -607,19 +607,19 @@
|
|
|
607
607
|
htmlTagObjectToString,
|
|
608
608
|
};
|
|
609
609
|
},
|
|
610
|
-
|
|
610
|
+
266: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
611
611
|
"use strict";
|
|
612
612
|
const promisify = __nccwpck_require__(23).promisify;
|
|
613
613
|
const vm = __nccwpck_require__(154);
|
|
614
614
|
const fs = __nccwpck_require__(896);
|
|
615
615
|
const path = __nccwpck_require__(928);
|
|
616
|
-
const { CachedChildCompilation } = __nccwpck_require__(
|
|
616
|
+
const { CachedChildCompilation } = __nccwpck_require__(971);
|
|
617
617
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
618
|
-
__nccwpck_require__(
|
|
619
|
-
const prettyError = __nccwpck_require__(
|
|
620
|
-
const chunkSorter = __nccwpck_require__(
|
|
618
|
+
__nccwpck_require__(603);
|
|
619
|
+
const prettyError = __nccwpck_require__(151);
|
|
620
|
+
const chunkSorter = __nccwpck_require__(592);
|
|
621
621
|
const getHtmlRspackPluginHooks =
|
|
622
|
-
__nccwpck_require__(
|
|
622
|
+
__nccwpck_require__(366).getHtmlRspackPluginHooks;
|
|
623
623
|
class HtmlRspackPlugin {
|
|
624
624
|
constructor(userOptions = {}) {
|
|
625
625
|
this.version = HtmlRspackPlugin.version;
|
|
@@ -1586,6 +1586,6 @@
|
|
|
1586
1586
|
}
|
|
1587
1587
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
1588
1588
|
__nccwpck_require__.ab = __dirname + "/";
|
|
1589
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
1589
|
+
var __webpack_exports__ = __nccwpck_require__(266);
|
|
1590
1590
|
module.exports = __webpack_exports__;
|
|
1591
1591
|
})();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
15: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(825)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
825: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
8
8
|
var __webpack_unused_export__;
|
|
9
9
|
__webpack_unused_export__ = { value: true };
|
|
10
10
|
exports["default"] = loader;
|
|
11
11
|
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(76);
|
|
13
13
|
function _interopRequireDefault(obj) {
|
|
14
14
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15
15
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
callback(null, result.css, map, { ast });
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
76: (module, exports, __nccwpck_require__) => {
|
|
183
183
|
module = __nccwpck_require__.nmd(module);
|
|
184
184
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185
185
|
exports.exec = exec;
|
|
@@ -716,6 +716,6 @@
|
|
|
716
716
|
})();
|
|
717
717
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
718
718
|
__nccwpck_require__.ab = __dirname + "/";
|
|
719
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
719
|
+
var __webpack_exports__ = __nccwpck_require__(15);
|
|
720
720
|
module.exports = __webpack_exports__;
|
|
721
721
|
})();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
4
|
+
83: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.transformFiles =
|
|
7
7
|
exports.reduceChunk =
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
.map(standardizeFilePaths);
|
|
121
121
|
exports.transformFiles = transformFiles;
|
|
122
122
|
},
|
|
123
|
-
|
|
123
|
+
894: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
124
124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
125
125
|
exports.normalModuleLoaderHook =
|
|
126
126
|
exports.getCompilerHooks =
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
const fs_1 = __nccwpck_require__(896);
|
|
131
131
|
const path_1 = __nccwpck_require__(928);
|
|
132
132
|
const lite_tapable_1 = __nccwpck_require__(408);
|
|
133
|
-
const helpers_1 = __nccwpck_require__(
|
|
133
|
+
const helpers_1 = __nccwpck_require__(83);
|
|
134
134
|
const compilerHookMap = new WeakMap();
|
|
135
135
|
const getCompilerHooks = (compiler) => {
|
|
136
136
|
let hooks = compilerHookMap.get(compiler);
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
exports.getCompilerHooks =
|
|
313
313
|
void 0;
|
|
314
314
|
const path_1 = __nccwpck_require__(928);
|
|
315
|
-
const hooks_1 = __nccwpck_require__(
|
|
315
|
+
const hooks_1 = __nccwpck_require__(894);
|
|
316
316
|
Object.defineProperty(exports, "getCompilerHooks", {
|
|
317
317
|
enumerable: true,
|
|
318
318
|
get: function () {
|
package/dist/index.cjs
CHANGED
|
@@ -2258,7 +2258,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
2258
2258
|
async function createContext(options, userConfig) {
|
|
2259
2259
|
let { cwd } = options, rootPath = userConfig.root ? getAbsolutePath(cwd, userConfig.root) : cwd, rsbuildConfig = await withDefaultConfig(rootPath, userConfig), cachePath = (0, external_node_path_namespaceObject.join)(rootPath, 'node_modules', '.cache'), specifiedEnvironments = options.environment && options.environment.length > 0 ? options.environment : void 0;
|
|
2260
2260
|
return {
|
|
2261
|
-
version: "1.3.
|
|
2261
|
+
version: "1.3.11",
|
|
2262
2262
|
rootPath,
|
|
2263
2263
|
distPath: '',
|
|
2264
2264
|
cachePath,
|
|
@@ -4158,8 +4158,7 @@ throw new Error('Failed to load Node.js addon: "${name}"\\n' + error);
|
|
|
4158
4158
|
}
|
|
4159
4159
|
let HtmlResourceHintsPlugin_defaultOptions = {
|
|
4160
4160
|
type: 'async-chunks',
|
|
4161
|
-
dedupe: !0
|
|
4162
|
-
exclude: /.map$/
|
|
4161
|
+
dedupe: !0
|
|
4163
4162
|
}, applyFilter = (files, include, exclude)=>{
|
|
4164
4163
|
let includeRegExp = [], excludeRegExp = [], includeFn = [], excludeFn = [];
|
|
4165
4164
|
if (include) for (let item of castArray(include))'string' == typeof item ? includeRegExp.push(new RegExp(item)) : isFunction(item) ? includeFn.push(item) : includeRegExp.push(item);
|
|
@@ -4216,7 +4215,7 @@ throw new Error('Failed to load Node.js addon: "${name}"\\n' + error);
|
|
|
4216
4215
|
}))).reduce((accumulated, chunk)=>accumulated.concat([
|
|
4217
4216
|
...chunk.files,
|
|
4218
4217
|
...chunk.auxiliaryFiles || []
|
|
4219
|
-
]), []))
|
|
4218
|
+
]), []).filter((file)=>!file.endsWith('.map')))
|
|
4220
4219
|
], options.include, options.exclude).sort(), links = [], { publicPath, crossOriginLoading } = compilation.outputOptions;
|
|
4221
4220
|
for (let file of sortedFilteredFiles){
|
|
4222
4221
|
let href = ensureAssetPrefix(file, publicPath), attributes = {
|
|
@@ -7489,11 +7488,11 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
7489
7488
|
}
|
|
7490
7489
|
process.title = 'rsbuild-node';
|
|
7491
7490
|
let { npm_execpath } = process.env;
|
|
7492
|
-
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), rslog_index_js_namespaceObject.logger.greet(` Rsbuild v1.3.
|
|
7491
|
+
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), rslog_index_js_namespaceObject.logger.greet(` Rsbuild v1.3.11\n`);
|
|
7493
7492
|
try {
|
|
7494
7493
|
!function() {
|
|
7495
7494
|
let cli = cac_dist('rsbuild');
|
|
7496
|
-
cli.help(), cli.version("1.3.
|
|
7495
|
+
cli.help(), cli.version("1.3.11"), applyCommonOptions(cli);
|
|
7497
7496
|
let devCommand = cli.command('', 'starting the dev server').alias('dev'), buildCommand = cli.command('build', 'build the app for production'), previewCommand = cli.command('preview', 'preview the production build locally'), inspectCommand = cli.command('inspect', 'inspect the Rspack and Rsbuild configs');
|
|
7498
7497
|
applyServerOptions(devCommand), applyServerOptions(previewCommand), devCommand.action(async (options)=>{
|
|
7499
7498
|
try {
|
|
@@ -7544,7 +7543,7 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
7544
7543
|
rslog_index_js_namespaceObject.logger.error('Failed to start Rsbuild CLI.'), rslog_index_js_namespaceObject.logger.error(err);
|
|
7545
7544
|
}
|
|
7546
7545
|
}
|
|
7547
|
-
let src_version = "1.3.
|
|
7546
|
+
let src_version = "1.3.11";
|
|
7548
7547
|
})(), exports.PLUGIN_CSS_NAME = __webpack_exports__.PLUGIN_CSS_NAME, exports.PLUGIN_SWC_NAME = __webpack_exports__.PLUGIN_SWC_NAME, exports.createRsbuild = __webpack_exports__.createRsbuild, exports.defineConfig = __webpack_exports__.defineConfig, exports.ensureAssetPrefix = __webpack_exports__.ensureAssetPrefix, exports.loadConfig = __webpack_exports__.loadConfig, exports.loadEnv = __webpack_exports__.loadEnv, exports.logger = __webpack_exports__.logger, exports.mergeRsbuildConfig = __webpack_exports__.mergeRsbuildConfig, exports.rspack = __webpack_exports__.rspack, exports.runCLI = __webpack_exports__.runCLI, exports.version = __webpack_exports__.version, __webpack_exports__)-1 === [
|
|
7549
7548
|
"PLUGIN_CSS_NAME",
|
|
7550
7549
|
"PLUGIN_SWC_NAME",
|
package/dist/index.js
CHANGED
|
@@ -2117,7 +2117,7 @@ async function updateEnvironmentContext(context, configs) {
|
|
|
2117
2117
|
async function createContext(options, userConfig) {
|
|
2118
2118
|
let { cwd } = options, rootPath = userConfig.root ? getAbsolutePath(cwd, userConfig.root) : cwd, rsbuildConfig = await withDefaultConfig(rootPath, userConfig), cachePath = (0, __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.join)(rootPath, 'node_modules', '.cache'), specifiedEnvironments = options.environment && options.environment.length > 0 ? options.environment : void 0;
|
|
2119
2119
|
return {
|
|
2120
|
-
version: "1.3.
|
|
2120
|
+
version: "1.3.11",
|
|
2121
2121
|
rootPath,
|
|
2122
2122
|
distPath: '',
|
|
2123
2123
|
cachePath,
|
|
@@ -4010,8 +4010,7 @@ function HtmlResourceHintsPlugin_define_property(obj, key, value) {
|
|
|
4010
4010
|
}
|
|
4011
4011
|
let HtmlResourceHintsPlugin_defaultOptions = {
|
|
4012
4012
|
type: 'async-chunks',
|
|
4013
|
-
dedupe: !0
|
|
4014
|
-
exclude: /.map$/
|
|
4013
|
+
dedupe: !0
|
|
4015
4014
|
}, applyFilter = (files, include, exclude)=>{
|
|
4016
4015
|
let includeRegExp = [], excludeRegExp = [], includeFn = [], excludeFn = [];
|
|
4017
4016
|
if (include) for (let item of castArray(include))'string' == typeof item ? includeRegExp.push(new RegExp(item)) : isFunction(item) ? includeFn.push(item) : includeRegExp.push(item);
|
|
@@ -4068,7 +4067,7 @@ class HtmlResourceHintsPlugin {
|
|
|
4068
4067
|
}))).reduce((accumulated, chunk)=>accumulated.concat([
|
|
4069
4068
|
...chunk.files,
|
|
4070
4069
|
...chunk.auxiliaryFiles || []
|
|
4071
|
-
]), []))
|
|
4070
|
+
]), []).filter((file)=>!file.endsWith('.map')))
|
|
4072
4071
|
], options.include, options.exclude).sort(), links = [], { publicPath, crossOriginLoading } = compilation.outputOptions;
|
|
4073
4072
|
for (let file of sortedFilteredFiles){
|
|
4074
4073
|
let href = ensureAssetPrefix(file, publicPath), attributes = {
|
|
@@ -7324,11 +7323,11 @@ async function runCLI() {
|
|
|
7324
7323
|
}
|
|
7325
7324
|
process.title = 'rsbuild-node';
|
|
7326
7325
|
let { npm_execpath } = process.env;
|
|
7327
|
-
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rsbuild v1.3.
|
|
7326
|
+
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rsbuild v1.3.11\n`);
|
|
7328
7327
|
try {
|
|
7329
7328
|
!function() {
|
|
7330
7329
|
let cli = cac_dist('rsbuild');
|
|
7331
|
-
cli.help(), cli.version("1.3.
|
|
7330
|
+
cli.help(), cli.version("1.3.11"), applyCommonOptions(cli);
|
|
7332
7331
|
let devCommand = cli.command('', 'starting the dev server').alias('dev'), buildCommand = cli.command('build', 'build the app for production'), previewCommand = cli.command('preview', 'preview the production build locally'), inspectCommand = cli.command('inspect', 'inspect the Rspack and Rsbuild configs');
|
|
7333
7332
|
applyServerOptions(devCommand), applyServerOptions(previewCommand), devCommand.action(async (options)=>{
|
|
7334
7333
|
try {
|
|
@@ -7379,6 +7378,6 @@ async function runCLI() {
|
|
|
7379
7378
|
__WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.error('Failed to start Rsbuild CLI.'), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.error(err);
|
|
7380
7379
|
}
|
|
7381
7380
|
}
|
|
7382
|
-
let src_version = "1.3.
|
|
7381
|
+
let src_version = "1.3.11";
|
|
7383
7382
|
var __webpack_exports__logger = __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger, __webpack_exports__rspack = __WEBPACK_EXTERNAL_MODULE__rspack_core_e0096ff7__.rspack;
|
|
7384
7383
|
export { PLUGIN_CSS_NAME, PLUGIN_SWC_NAME, createRsbuild, defineConfig, ensureAssetPrefix, config_loadConfig as loadConfig, loadEnv, mergeRsbuildConfig, runCLI, src_version as version, __webpack_exports__logger as logger, __webpack_exports__rspack as rspack };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.11",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"types.d.ts"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@rspack/core": "1.3.
|
|
49
|
+
"@rspack/core": "1.3.6",
|
|
50
50
|
"@rspack/lite-tapable": "~1.0.1",
|
|
51
51
|
"@swc/helpers": "^0.5.17",
|
|
52
52
|
"core-js": "~3.41.0",
|