@rsbuild/core 0.7.9 → 0.7.10
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
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 8781:
|
|
5
5
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
const loader = __nccwpck_require__(
|
|
10
|
+
const loader = __nccwpck_require__(1075);
|
|
11
11
|
module.exports = loader.default;
|
|
12
|
-
module.exports.defaultGetLocalIdent = __nccwpck_require__(
|
|
12
|
+
module.exports.defaultGetLocalIdent = __nccwpck_require__(7088).defaultGetLocalIdent;
|
|
13
13
|
|
|
14
14
|
/***/ }),
|
|
15
15
|
|
|
16
|
-
/***/
|
|
16
|
+
/***/ 1075:
|
|
17
17
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
18
18
|
|
|
19
19
|
"use strict";
|
|
@@ -26,9 +26,9 @@ exports["default"] = loader;
|
|
|
26
26
|
var _postcss = _interopRequireDefault(__nccwpck_require__(977));
|
|
27
27
|
var _package = _interopRequireDefault(__nccwpck_require__(5446));
|
|
28
28
|
var _semver = __nccwpck_require__(5204);
|
|
29
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
30
|
-
var _plugins = __nccwpck_require__(
|
|
31
|
-
var _utils = __nccwpck_require__(
|
|
29
|
+
var _options = _interopRequireDefault(__nccwpck_require__(8191));
|
|
30
|
+
var _plugins = __nccwpck_require__(8358);
|
|
31
|
+
var _utils = __nccwpck_require__(7088);
|
|
32
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
33
|
/*
|
|
34
34
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
@@ -198,7 +198,7 @@ async function loader(content, map, meta) {
|
|
|
198
198
|
|
|
199
199
|
/***/ }),
|
|
200
200
|
|
|
201
|
-
/***/
|
|
201
|
+
/***/ 8358:
|
|
202
202
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
203
203
|
|
|
204
204
|
"use strict";
|
|
@@ -225,14 +225,14 @@ Object.defineProperty(exports, "urlParser", ({
|
|
|
225
225
|
return _postcssUrlParser.default;
|
|
226
226
|
}
|
|
227
227
|
}));
|
|
228
|
-
var _postcssImportParser = _interopRequireDefault(__nccwpck_require__(
|
|
229
|
-
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(
|
|
230
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(
|
|
228
|
+
var _postcssImportParser = _interopRequireDefault(__nccwpck_require__(5916));
|
|
229
|
+
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(5784));
|
|
230
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(7450));
|
|
231
231
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
232
232
|
|
|
233
233
|
/***/ }),
|
|
234
234
|
|
|
235
|
-
/***/
|
|
235
|
+
/***/ 5784:
|
|
236
236
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
237
237
|
|
|
238
238
|
"use strict";
|
|
@@ -243,7 +243,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
243
243
|
}));
|
|
244
244
|
exports["default"] = void 0;
|
|
245
245
|
var _icssUtils = __nccwpck_require__(3275);
|
|
246
|
-
var _utils = __nccwpck_require__(
|
|
246
|
+
var _utils = __nccwpck_require__(7088);
|
|
247
247
|
const plugin = (options = {}) => {
|
|
248
248
|
return {
|
|
249
249
|
postcssPlugin: "postcss-icss-parser",
|
|
@@ -352,7 +352,7 @@ var _default = exports["default"] = plugin;
|
|
|
352
352
|
|
|
353
353
|
/***/ }),
|
|
354
354
|
|
|
355
|
-
/***/
|
|
355
|
+
/***/ 5916:
|
|
356
356
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
357
357
|
|
|
358
358
|
"use strict";
|
|
@@ -363,7 +363,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
363
363
|
}));
|
|
364
364
|
exports["default"] = void 0;
|
|
365
365
|
var _postcssValueParser = _interopRequireDefault(__nccwpck_require__(1036));
|
|
366
|
-
var _utils = __nccwpck_require__(
|
|
366
|
+
var _utils = __nccwpck_require__(7088);
|
|
367
367
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
368
368
|
function isIgnoredAfterName(atRule) {
|
|
369
369
|
if (atRule.raws && atRule.raws.afterName && atRule.raws.afterName.trim().length > 0) {
|
|
@@ -652,7 +652,7 @@ var _default = exports["default"] = plugin;
|
|
|
652
652
|
|
|
653
653
|
/***/ }),
|
|
654
654
|
|
|
655
|
-
/***/
|
|
655
|
+
/***/ 7450:
|
|
656
656
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
657
657
|
|
|
658
658
|
"use strict";
|
|
@@ -663,7 +663,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
663
663
|
}));
|
|
664
664
|
exports["default"] = void 0;
|
|
665
665
|
var _postcssValueParser = _interopRequireDefault(__nccwpck_require__(1036));
|
|
666
|
-
var _utils = __nccwpck_require__(
|
|
666
|
+
var _utils = __nccwpck_require__(7088);
|
|
667
667
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
668
668
|
const isUrlFunc = /url/i;
|
|
669
669
|
const isImageSetFunc = /^(?:-webkit-)?image-set$/i;
|
|
@@ -1015,7 +1015,7 @@ var _default = exports["default"] = plugin;
|
|
|
1015
1015
|
|
|
1016
1016
|
/***/ }),
|
|
1017
1017
|
|
|
1018
|
-
/***/
|
|
1018
|
+
/***/ 7088:
|
|
1019
1019
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1020
1020
|
|
|
1021
1021
|
"use strict";
|
|
@@ -7318,7 +7318,7 @@ module.exports = require("util");
|
|
|
7318
7318
|
|
|
7319
7319
|
/***/ }),
|
|
7320
7320
|
|
|
7321
|
-
/***/
|
|
7321
|
+
/***/ 8191:
|
|
7322
7322
|
/***/ ((module) => {
|
|
7323
7323
|
|
|
7324
7324
|
"use strict";
|
|
@@ -7376,7 +7376,7 @@ module.exports = JSON.parse('{"name":"postcss","version":"8.4.38","description":
|
|
|
7376
7376
|
/******/ // startup
|
|
7377
7377
|
/******/ // Load entry module and return exports
|
|
7378
7378
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
7379
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
7379
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(8781);
|
|
7380
7380
|
/******/ module.exports = __webpack_exports__;
|
|
7381
7381
|
/******/
|
|
7382
7382
|
/******/ })()
|
|
@@ -7709,17 +7709,17 @@ module.exports.createColors = createColors
|
|
|
7709
7709
|
|
|
7710
7710
|
/***/ }),
|
|
7711
7711
|
|
|
7712
|
-
/***/
|
|
7712
|
+
/***/ 2720:
|
|
7713
7713
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
7714
7714
|
|
|
7715
7715
|
"use strict";
|
|
7716
7716
|
|
|
7717
7717
|
|
|
7718
|
-
module.exports = __nccwpck_require__(
|
|
7718
|
+
module.exports = __nccwpck_require__(3726)["default"];
|
|
7719
7719
|
|
|
7720
7720
|
/***/ }),
|
|
7721
7721
|
|
|
7722
|
-
/***/
|
|
7722
|
+
/***/ 3726:
|
|
7723
7723
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
7724
7724
|
|
|
7725
7725
|
"use strict";
|
|
@@ -7732,8 +7732,8 @@ __webpack_unused_export__ = ({
|
|
|
7732
7732
|
exports["default"] = loader;
|
|
7733
7733
|
var _path = _interopRequireDefault(__nccwpck_require__(1017));
|
|
7734
7734
|
var _package = _interopRequireDefault(__nccwpck_require__(5446));
|
|
7735
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
7736
|
-
var _utils = __nccwpck_require__(
|
|
7735
|
+
var _options = _interopRequireDefault(__nccwpck_require__(3493));
|
|
7736
|
+
var _utils = __nccwpck_require__(4345);
|
|
7737
7737
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7738
7738
|
let hasExplicitDependencyOnPostCSS = false;
|
|
7739
7739
|
|
|
@@ -7899,7 +7899,7 @@ async function loader(content, sourceMap, meta) {
|
|
|
7899
7899
|
|
|
7900
7900
|
/***/ }),
|
|
7901
7901
|
|
|
7902
|
-
/***/
|
|
7902
|
+
/***/ 4345:
|
|
7903
7903
|
/***/ ((module, exports, __nccwpck_require__) => {
|
|
7904
7904
|
|
|
7905
7905
|
"use strict";
|
|
@@ -9150,7 +9150,7 @@ function highlight(code, options = {}) {
|
|
|
9150
9150
|
|
|
9151
9151
|
/***/ }),
|
|
9152
9152
|
|
|
9153
|
-
/***/
|
|
9153
|
+
/***/ 3493:
|
|
9154
9154
|
/***/ ((module) => {
|
|
9155
9155
|
|
|
9156
9156
|
"use strict";
|
|
@@ -9278,7 +9278,7 @@ module.exports = JSON.parse('{"name":"postcss","version":"8.4.38","description":
|
|
|
9278
9278
|
/******/ // startup
|
|
9279
9279
|
/******/ // Load entry module and return exports
|
|
9280
9280
|
/******/ // This entry module used 'module' so it can't be inlined
|
|
9281
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
9281
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(2720);
|
|
9282
9282
|
/******/ module.exports = __webpack_exports__;
|
|
9283
9283
|
/******/
|
|
9284
9284
|
/******/ })()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 5601:
|
|
5
5
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -105,7 +105,7 @@ exports.transformFiles = transformFiles;
|
|
|
105
105
|
|
|
106
106
|
/***/ }),
|
|
107
107
|
|
|
108
|
-
/***/
|
|
108
|
+
/***/ 2836:
|
|
109
109
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
110
110
|
|
|
111
111
|
"use strict";
|
|
@@ -116,7 +116,7 @@ const fs_1 = __nccwpck_require__(7147);
|
|
|
116
116
|
const path_1 = __nccwpck_require__(1017);
|
|
117
117
|
const tapable_1 = __nccwpck_require__(4260);
|
|
118
118
|
const webpack_sources_1 = __nccwpck_require__(5433);
|
|
119
|
-
const helpers_1 = __nccwpck_require__(
|
|
119
|
+
const helpers_1 = __nccwpck_require__(5601);
|
|
120
120
|
const compilerHookMap = new WeakMap();
|
|
121
121
|
const getCompilerHooks = (compiler) => {
|
|
122
122
|
let hooks = compilerHookMap.get(compiler);
|
|
@@ -7751,7 +7751,7 @@ var exports = __webpack_exports__;
|
|
|
7751
7751
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7752
7752
|
exports.RspackManifestPlugin = exports.WebpackManifestPlugin = exports.getCompilerHooks = void 0;
|
|
7753
7753
|
const path_1 = __nccwpck_require__(1017);
|
|
7754
|
-
const hooks_1 = __nccwpck_require__(
|
|
7754
|
+
const hooks_1 = __nccwpck_require__(2836);
|
|
7755
7755
|
Object.defineProperty(exports, "getCompilerHooks", ({ enumerable: true, get: function () { return hooks_1.getCompilerHooks; } }));
|
|
7756
7756
|
const emitCountMap = new Map();
|
|
7757
7757
|
const defaults = {
|
package/dist/index.cjs
CHANGED
|
@@ -1217,7 +1217,7 @@ async function createContextByConfig(options, bundlerType, config = {}) {
|
|
|
1217
1217
|
return {
|
|
1218
1218
|
entry: getEntryObject(config, "web"),
|
|
1219
1219
|
targets: config.output?.targets || [],
|
|
1220
|
-
version: "0.7.
|
|
1220
|
+
version: "0.7.10",
|
|
1221
1221
|
rootPath,
|
|
1222
1222
|
distPath,
|
|
1223
1223
|
cachePath,
|
|
@@ -7502,7 +7502,7 @@ var init_init = __esm({
|
|
|
7502
7502
|
|
|
7503
7503
|
// src/cli/commands.ts
|
|
7504
7504
|
function runCli() {
|
|
7505
|
-
import_commander.program.name("rsbuild").usage("<command> [options]").version("0.7.
|
|
7505
|
+
import_commander.program.name("rsbuild").usage("<command> [options]").version("0.7.10");
|
|
7506
7506
|
const devCommand = import_commander.program.command("dev");
|
|
7507
7507
|
const buildCommand = import_commander.program.command("build");
|
|
7508
7508
|
const previewCommand = import_commander.program.command("preview");
|
|
@@ -7616,7 +7616,7 @@ function prepareCli() {
|
|
|
7616
7616
|
if (!npm_execpath || npm_execpath.includes("npx-cli.js") || npm_execpath.includes(".bun")) {
|
|
7617
7617
|
console.log();
|
|
7618
7618
|
}
|
|
7619
|
-
import_rslog.logger.greet(` ${`Rsbuild v${"0.7.
|
|
7619
|
+
import_rslog.logger.greet(` ${`Rsbuild v${"0.7.10"}`}
|
|
7620
7620
|
`);
|
|
7621
7621
|
}
|
|
7622
7622
|
var init_prepare = __esm({
|
|
@@ -7698,7 +7698,7 @@ init_logger();
|
|
|
7698
7698
|
init_mergeConfig();
|
|
7699
7699
|
init_helpers();
|
|
7700
7700
|
init_constants();
|
|
7701
|
-
var version = "0.7.
|
|
7701
|
+
var version = "0.7.10";
|
|
7702
7702
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7703
7703
|
0 && (module.exports = {
|
|
7704
7704
|
PLUGIN_CSS_NAME,
|
package/dist/index.js
CHANGED
|
@@ -1248,7 +1248,7 @@ async function createContextByConfig(options, bundlerType, config = {}) {
|
|
|
1248
1248
|
return {
|
|
1249
1249
|
entry: getEntryObject(config, "web"),
|
|
1250
1250
|
targets: config.output?.targets || [],
|
|
1251
|
-
version: "0.7.
|
|
1251
|
+
version: "0.7.10",
|
|
1252
1252
|
rootPath,
|
|
1253
1253
|
distPath,
|
|
1254
1254
|
cachePath,
|
|
@@ -7677,7 +7677,7 @@ import { join as join12 } from "path";
|
|
|
7677
7677
|
import { color as color14 } from "@rsbuild/shared";
|
|
7678
7678
|
import { program } from "../compiled/commander/index.js";
|
|
7679
7679
|
function runCli() {
|
|
7680
|
-
program.name("rsbuild").usage("<command> [options]").version("0.7.
|
|
7680
|
+
program.name("rsbuild").usage("<command> [options]").version("0.7.10");
|
|
7681
7681
|
const devCommand = program.command("dev");
|
|
7682
7682
|
const buildCommand = program.command("build");
|
|
7683
7683
|
const previewCommand = program.command("preview");
|
|
@@ -7788,7 +7788,7 @@ function prepareCli() {
|
|
|
7788
7788
|
if (!npm_execpath || npm_execpath.includes("npx-cli.js") || npm_execpath.includes(".bun")) {
|
|
7789
7789
|
console.log();
|
|
7790
7790
|
}
|
|
7791
|
-
logger.greet(` ${`Rsbuild v${"0.7.
|
|
7791
|
+
logger.greet(` ${`Rsbuild v${"0.7.10"}`}
|
|
7792
7792
|
`);
|
|
7793
7793
|
}
|
|
7794
7794
|
var init_prepare = __esm({
|
|
@@ -7857,7 +7857,7 @@ init_mergeConfig();
|
|
|
7857
7857
|
init_helpers();
|
|
7858
7858
|
init_constants();
|
|
7859
7859
|
import { rspack as rspack10 } from "@rspack/core";
|
|
7860
|
-
var version = "0.7.
|
|
7860
|
+
var version = "0.7.10";
|
|
7861
7861
|
export {
|
|
7862
7862
|
PLUGIN_CSS_NAME,
|
|
7863
7863
|
PLUGIN_SWC_NAME,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"types.d.ts"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@rspack/core": "0.7.
|
|
49
|
+
"@rspack/core": "0.7.5",
|
|
50
50
|
"@swc/helpers": "0.5.3",
|
|
51
51
|
"core-js": "~3.36.0",
|
|
52
52
|
"html-webpack-plugin": "npm:html-rspack-plugin@5.7.2",
|
|
53
53
|
"postcss": "^8.4.38",
|
|
54
|
-
"@rsbuild/shared": "0.7.
|
|
54
|
+
"@rsbuild/shared": "0.7.10"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/connect": "3.4.38",
|