@rsbuild/core 1.5.14 → 1.5.15
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/compiled/css-loader/index.js +20 -18
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/style-loader/index.js +10 -10
- package/dist/index.cjs +12 -9
- package/dist/index.js +12 -9
- package/package.json +2 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
3359: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(2225);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(5756).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
2225: (__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__(1259));
|
|
15
|
-
var _plugins = __nccwpck_require__(
|
|
16
|
-
var _utils = __nccwpck_require__(
|
|
15
|
+
var _plugins = __nccwpck_require__(7310);
|
|
16
|
+
var _utils = __nccwpck_require__(5756);
|
|
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
|
+
7310: (__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,20 +258,22 @@
|
|
|
258
258
|
},
|
|
259
259
|
});
|
|
260
260
|
var _postcssImportParser = _interopRequireDefault(
|
|
261
|
-
__nccwpck_require__(
|
|
261
|
+
__nccwpck_require__(2325),
|
|
262
262
|
);
|
|
263
|
-
var _postcssIcssParser = _interopRequireDefault(
|
|
264
|
-
|
|
263
|
+
var _postcssIcssParser = _interopRequireDefault(
|
|
264
|
+
__nccwpck_require__(2388),
|
|
265
|
+
);
|
|
266
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(1155));
|
|
265
267
|
function _interopRequireDefault(obj) {
|
|
266
268
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
267
269
|
}
|
|
268
270
|
},
|
|
269
|
-
|
|
271
|
+
2388: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
270
272
|
"use strict";
|
|
271
273
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
272
274
|
exports["default"] = void 0;
|
|
273
275
|
var _icssUtils = __nccwpck_require__(9028);
|
|
274
|
-
var _utils = __nccwpck_require__(
|
|
276
|
+
var _utils = __nccwpck_require__(5756);
|
|
275
277
|
const plugin = (options = {}) => ({
|
|
276
278
|
postcssPlugin: "postcss-icss-parser",
|
|
277
279
|
async OnceExit(root) {
|
|
@@ -370,14 +372,14 @@
|
|
|
370
372
|
plugin.postcss = true;
|
|
371
373
|
var _default = (exports["default"] = plugin);
|
|
372
374
|
},
|
|
373
|
-
|
|
375
|
+
2325: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
374
376
|
"use strict";
|
|
375
377
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
376
378
|
exports["default"] = void 0;
|
|
377
379
|
var _postcssValueParser = _interopRequireDefault(
|
|
378
380
|
__nccwpck_require__(2948),
|
|
379
381
|
);
|
|
380
|
-
var _utils = __nccwpck_require__(
|
|
382
|
+
var _utils = __nccwpck_require__(5756);
|
|
381
383
|
function _interopRequireDefault(obj) {
|
|
382
384
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
383
385
|
}
|
|
@@ -682,14 +684,14 @@
|
|
|
682
684
|
plugin.postcss = true;
|
|
683
685
|
var _default = (exports["default"] = plugin);
|
|
684
686
|
},
|
|
685
|
-
|
|
687
|
+
1155: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
686
688
|
"use strict";
|
|
687
689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
688
690
|
exports["default"] = void 0;
|
|
689
691
|
var _postcssValueParser = _interopRequireDefault(
|
|
690
692
|
__nccwpck_require__(2948),
|
|
691
693
|
);
|
|
692
|
-
var _utils = __nccwpck_require__(
|
|
694
|
+
var _utils = __nccwpck_require__(5756);
|
|
693
695
|
function _interopRequireDefault(obj) {
|
|
694
696
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
695
697
|
}
|
|
@@ -1032,7 +1034,7 @@
|
|
|
1032
1034
|
plugin.postcss = true;
|
|
1033
1035
|
var _default = (exports["default"] = plugin);
|
|
1034
1036
|
},
|
|
1035
|
-
|
|
1037
|
+
5756: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1036
1038
|
"use strict";
|
|
1037
1039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1038
1040
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -8096,6 +8098,6 @@
|
|
|
8096
8098
|
}
|
|
8097
8099
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
8098
8100
|
__nccwpck_require__.ab = __dirname + "/";
|
|
8099
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
8101
|
+
var __webpack_exports__ = __nccwpck_require__(3359);
|
|
8100
8102
|
module.exports = __webpack_exports__;
|
|
8101
8103
|
})();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
581: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(903)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
903: (__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 _nodePath = _interopRequireDefault(__nccwpck_require__(760));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(226);
|
|
13
13
|
function _interopRequireDefault(e) {
|
|
14
14
|
return e && e.__esModule ? e : { default: e };
|
|
15
15
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
callback(null, result.css, map, { ast });
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
226: (module, exports, __nccwpck_require__) => {
|
|
183
183
|
module = __nccwpck_require__.nmd(module);
|
|
184
184
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185
185
|
exports.exec = exec;
|
|
@@ -715,6 +715,6 @@
|
|
|
715
715
|
})();
|
|
716
716
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
717
717
|
__nccwpck_require__.ab = __dirname + "/";
|
|
718
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
718
|
+
var __webpack_exports__ = __nccwpck_require__(581);
|
|
719
719
|
module.exports = __webpack_exports__;
|
|
720
720
|
})();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
4
|
+
526: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
const loader = __nccwpck_require__(916);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
},
|
|
8
|
-
|
|
8
|
+
916: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports["default"] = void 0;
|
|
11
11
|
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
13
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(197);
|
|
13
|
+
var _options = _interopRequireDefault(__nccwpck_require__(685));
|
|
14
14
|
function _interopRequireDefault(obj) {
|
|
15
15
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
16
16
|
}
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
};
|
|
105
105
|
var _default = (exports["default"] = loader);
|
|
106
106
|
},
|
|
107
|
-
|
|
107
|
+
615: (module) => {
|
|
108
108
|
function isEqualLocals(a, b, isNamedExport) {
|
|
109
109
|
if ((!a && b) || (a && !b)) {
|
|
110
110
|
return false;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
module.exports = isEqualLocals;
|
|
132
132
|
},
|
|
133
|
-
|
|
133
|
+
197: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
134
134
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
135
135
|
exports.getExportLazyStyleCode = getExportLazyStyleCode;
|
|
136
136
|
exports.getExportStyleCode = getExportStyleCode;
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
exports.getdomAPI = getdomAPI;
|
|
152
152
|
exports.stringifyRequest = stringifyRequest;
|
|
153
153
|
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
154
|
-
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(
|
|
154
|
+
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(615));
|
|
155
155
|
function _interopRequireDefault(obj) {
|
|
156
156
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
157
157
|
}
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
928: (module) => {
|
|
395
395
|
module.exports = require("path");
|
|
396
396
|
},
|
|
397
|
-
|
|
397
|
+
685: (module) => {
|
|
398
398
|
module.exports = JSON.parse(
|
|
399
399
|
'{"title":"Style Loader options","type":"object","properties":{"injectType":{"description":"Allows to setup how styles will be injected into DOM.","link":"https://github.com/webpack-contrib/style-loader#injecttype","enum":["styleTag","singletonStyleTag","autoStyleTag","lazyStyleTag","lazySingletonStyleTag","lazyAutoStyleTag","linkTag"]},"attributes":{"description":"Adds custom attributes to tag.","link":"https://github.com/webpack-contrib/style-loader#attributes","type":"object"},"insert":{"description":"Inserts `<style>`/`<link>` at the given position.","link":"https://github.com/webpack-contrib/style-loader#insert","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"base":{"description":"Sets module ID base for DLLPlugin.","link":"https://github.com/webpack-contrib/style-loader#base","type":"number"},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"styleTagTransform":{"description":"Transform tag and css when insert \'style\' tag into the DOM","link":"https://github.com/webpack-contrib/style-loader#styleTagTransform","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}',
|
|
400
400
|
);
|
|
@@ -422,6 +422,6 @@
|
|
|
422
422
|
}
|
|
423
423
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
424
424
|
__nccwpck_require__.ab = __dirname + "/";
|
|
425
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
425
|
+
var __webpack_exports__ = __nccwpck_require__(526);
|
|
426
426
|
module.exports = __webpack_exports__;
|
|
427
427
|
})();
|
package/dist/index.cjs
CHANGED
|
@@ -3796,7 +3796,7 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
3796
3796
|
async function createContext(options, userConfig) {
|
|
3797
3797
|
let { cwd } = options, rootPath = userConfig.root ? ensureAbsolutePath(cwd, userConfig.root) : cwd, rsbuildConfig = await withDefaultConfig(rootPath, userConfig), cachePath = (0, external_node_path_.join)(rootPath, 'node_modules', '.cache'), specifiedEnvironments = options.environment && options.environment.length > 0 ? options.environment : void 0, bundlerType = userConfig.provider ? 'webpack' : 'rspack';
|
|
3798
3798
|
return {
|
|
3799
|
-
version: "1.5.
|
|
3799
|
+
version: "1.5.15",
|
|
3800
3800
|
rootPath,
|
|
3801
3801
|
distPath: '',
|
|
3802
3802
|
cachePath,
|
|
@@ -8111,22 +8111,25 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
8111
8111
|
aggregateTimeout: 0
|
|
8112
8112
|
}), chain.performance.hints(!1), chain.module.parser.merge({
|
|
8113
8113
|
javascript: {
|
|
8114
|
-
|
|
8115
|
-
|
|
8114
|
+
exportsPresence: 'error'
|
|
8115
|
+
}
|
|
8116
|
+
}), isDev && config.dev.hmr && 'web' === target && chain.plugin(CHAIN_ID.PLUGIN.HMR).use(bundler.HotModuleReplacementPlugin), isDev && chain.output.devtoolModuleFilenameTemplate((info)=>toPosixPath(info.absoluteResourcePath)), 'rspack' === api.context.bundlerType && (chain.module.parser.merge({
|
|
8117
|
+
javascript: {
|
|
8118
|
+
inlineConst: isProd,
|
|
8116
8119
|
typeReexportsPresence: 'tolerant'
|
|
8117
8120
|
}
|
|
8118
|
-
}),
|
|
8121
|
+
}), chain.experiments({
|
|
8119
8122
|
...chain.get('experiments'),
|
|
8120
8123
|
lazyBarrel: !0,
|
|
8121
8124
|
inlineEnum: isProd,
|
|
8122
|
-
inlineConst:
|
|
8125
|
+
inlineConst: isProd,
|
|
8123
8126
|
typeReexportsPresence: !0,
|
|
8124
8127
|
rspackFuture: {
|
|
8125
8128
|
bundlerInfo: {
|
|
8126
8129
|
force: !1
|
|
8127
8130
|
}
|
|
8128
8131
|
}
|
|
8129
|
-
}), process.env.RSPACK_CONFIG_VALIDATE ||= 'loose-silent';
|
|
8132
|
+
})), process.env.RSPACK_CONFIG_VALIDATE ||= 'loose-silent';
|
|
8130
8133
|
});
|
|
8131
8134
|
}
|
|
8132
8135
|
},
|
|
@@ -9870,11 +9873,11 @@ throw new Error('Failed to load Node.js addon: "${name}"\\n' + error);
|
|
|
9870
9873
|
}
|
|
9871
9874
|
!function() {
|
|
9872
9875
|
let { npm_execpath, npm_lifecycle_event, NODE_RUN_SCRIPT_NAME } = process.env, isBun = npm_execpath?.includes('.bun');
|
|
9873
|
-
logger.greet(`${'npx' === npm_lifecycle_event || isBun || NODE_RUN_SCRIPT_NAME ? '\n' : ''}Rsbuild v1.5.
|
|
9876
|
+
logger.greet(`${'npx' === npm_lifecycle_event || isBun || NODE_RUN_SCRIPT_NAME ? '\n' : ''}Rsbuild v1.5.15\n`);
|
|
9874
9877
|
}();
|
|
9875
9878
|
try {
|
|
9876
9879
|
let cli, devDescription, devCommand, buildCommand, previewCommand, inspectCommand;
|
|
9877
|
-
(cli = ((name = "")=>new CAC(name))('rsbuild')).version("1.5.
|
|
9880
|
+
(cli = ((name = "")=>new CAC(name))('rsbuild')).version("1.5.15"), cli.option('--base <base>', 'Set the base path of the server').option('-c, --config <config>', 'Set the configuration file (relative or absolute path)').option('--config-loader <loader>', 'Set the config file loader (auto | jiti | native)', {
|
|
9878
9881
|
default: 'jiti'
|
|
9879
9882
|
}).option('--env-dir <dir>', 'Set the directory for loading `.env` files').option('--env-mode <mode>', 'Set the env mode to load the `.env.[mode]` file').option('--environment <name>', 'Set the environment name(s) to build', {
|
|
9880
9883
|
type: [
|
|
@@ -9931,7 +9934,7 @@ throw new Error('Failed to load Node.js addon: "${name}"\\n' + error);
|
|
|
9931
9934
|
logger.error('Failed to start Rsbuild CLI.'), logger.error(err);
|
|
9932
9935
|
}
|
|
9933
9936
|
}
|
|
9934
|
-
let src_version = "1.5.
|
|
9937
|
+
let src_version = "1.5.15";
|
|
9935
9938
|
})(), exports.PLUGIN_CSS_NAME = __webpack_exports__.PLUGIN_CSS_NAME, exports.PLUGIN_SWC_NAME = __webpack_exports__.PLUGIN_SWC_NAME, exports.createRsbuild = __webpack_exports__.createRsbuild, exports.defaultAllowedOrigins = __webpack_exports__.defaultAllowedOrigins, 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 === [
|
|
9936
9939
|
"PLUGIN_CSS_NAME",
|
|
9937
9940
|
"PLUGIN_SWC_NAME",
|
package/dist/index.js
CHANGED
|
@@ -3678,7 +3678,7 @@ async function updateEnvironmentContext(context, configs) {
|
|
|
3678
3678
|
async function createContext(options, userConfig) {
|
|
3679
3679
|
let { cwd } = options, rootPath = userConfig.root ? ensureAbsolutePath(cwd, userConfig.root) : cwd, rsbuildConfig = await withDefaultConfig(rootPath, userConfig), cachePath = (0, external_node_path_.join)(rootPath, 'node_modules', '.cache'), specifiedEnvironments = options.environment && options.environment.length > 0 ? options.environment : void 0, bundlerType = userConfig.provider ? 'webpack' : 'rspack';
|
|
3680
3680
|
return {
|
|
3681
|
-
version: "1.5.
|
|
3681
|
+
version: "1.5.15",
|
|
3682
3682
|
rootPath,
|
|
3683
3683
|
distPath: '',
|
|
3684
3684
|
cachePath,
|
|
@@ -7962,22 +7962,25 @@ async function createRsbuild(options = {}) {
|
|
|
7962
7962
|
aggregateTimeout: 0
|
|
7963
7963
|
}), chain.performance.hints(!1), chain.module.parser.merge({
|
|
7964
7964
|
javascript: {
|
|
7965
|
-
|
|
7966
|
-
|
|
7965
|
+
exportsPresence: 'error'
|
|
7966
|
+
}
|
|
7967
|
+
}), isDev && config.dev.hmr && 'web' === target && chain.plugin(CHAIN_ID.PLUGIN.HMR).use(bundler.HotModuleReplacementPlugin), isDev && chain.output.devtoolModuleFilenameTemplate((info)=>toPosixPath(info.absoluteResourcePath)), 'rspack' === api.context.bundlerType && (chain.module.parser.merge({
|
|
7968
|
+
javascript: {
|
|
7969
|
+
inlineConst: isProd,
|
|
7967
7970
|
typeReexportsPresence: 'tolerant'
|
|
7968
7971
|
}
|
|
7969
|
-
}),
|
|
7972
|
+
}), chain.experiments({
|
|
7970
7973
|
...chain.get('experiments'),
|
|
7971
7974
|
lazyBarrel: !0,
|
|
7972
7975
|
inlineEnum: isProd,
|
|
7973
|
-
inlineConst:
|
|
7976
|
+
inlineConst: isProd,
|
|
7974
7977
|
typeReexportsPresence: !0,
|
|
7975
7978
|
rspackFuture: {
|
|
7976
7979
|
bundlerInfo: {
|
|
7977
7980
|
force: !1
|
|
7978
7981
|
}
|
|
7979
7982
|
}
|
|
7980
|
-
}), process.env.RSPACK_CONFIG_VALIDATE ||= 'loose-silent';
|
|
7983
|
+
})), process.env.RSPACK_CONFIG_VALIDATE ||= 'loose-silent';
|
|
7981
7984
|
});
|
|
7982
7985
|
}
|
|
7983
7986
|
},
|
|
@@ -9717,11 +9720,11 @@ function runCLI() {
|
|
|
9717
9720
|
}
|
|
9718
9721
|
!function() {
|
|
9719
9722
|
let { npm_execpath, npm_lifecycle_event, NODE_RUN_SCRIPT_NAME } = process.env, isBun = npm_execpath?.includes('.bun');
|
|
9720
|
-
logger.greet(`${'npx' === npm_lifecycle_event || isBun || NODE_RUN_SCRIPT_NAME ? '\n' : ''}Rsbuild v1.5.
|
|
9723
|
+
logger.greet(`${'npx' === npm_lifecycle_event || isBun || NODE_RUN_SCRIPT_NAME ? '\n' : ''}Rsbuild v1.5.15\n`);
|
|
9721
9724
|
}();
|
|
9722
9725
|
try {
|
|
9723
9726
|
let cli, devDescription, devCommand, buildCommand, previewCommand, inspectCommand;
|
|
9724
|
-
(cli = ((name = "")=>new CAC(name))('rsbuild')).version("1.5.
|
|
9727
|
+
(cli = ((name = "")=>new CAC(name))('rsbuild')).version("1.5.15"), cli.option('--base <base>', 'Set the base path of the server').option('-c, --config <config>', 'Set the configuration file (relative or absolute path)').option('--config-loader <loader>', 'Set the config file loader (auto | jiti | native)', {
|
|
9725
9728
|
default: 'jiti'
|
|
9726
9729
|
}).option('--env-dir <dir>', 'Set the directory for loading `.env` files').option('--env-mode <mode>', 'Set the env mode to load the `.env.[mode]` file').option('--environment <name>', 'Set the environment name(s) to build', {
|
|
9727
9730
|
type: [
|
|
@@ -9778,5 +9781,5 @@ function runCLI() {
|
|
|
9778
9781
|
logger.error('Failed to start Rsbuild CLI.'), logger.error(err);
|
|
9779
9782
|
}
|
|
9780
9783
|
}
|
|
9781
|
-
let src_version = "1.5.
|
|
9784
|
+
let src_version = "1.5.15";
|
|
9782
9785
|
export { PLUGIN_CSS_NAME, PLUGIN_SWC_NAME, createRsbuild, defaultAllowedOrigins, defineConfig, ensureAssetPrefix, loadConfig_loadConfig as loadConfig, loadEnv, logger, mergeRsbuildConfig, rspack_rspack as rspack, runCLI, src_version as version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.15",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"style-loader": "3.3.4",
|
|
94
94
|
"tinyglobby": "0.2.14",
|
|
95
95
|
"typescript": "^5.9.3",
|
|
96
|
-
"webpack": "^5.
|
|
96
|
+
"webpack": "^5.102.1",
|
|
97
97
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
98
98
|
"webpack-merge": "6.0.1",
|
|
99
99
|
"ws": "^8.18.3"
|