@rsbuild/core 0.7.5 → 0.7.6

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
- /***/ 7685:
4
+ /***/ 4458:
5
5
  /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
6
6
 
7
7
  "use strict";
8
8
 
9
9
 
10
- const loader = __nccwpck_require__(6944);
10
+ const loader = __nccwpck_require__(8773);
11
11
  module.exports = loader.default;
12
- module.exports.defaultGetLocalIdent = __nccwpck_require__(1525).defaultGetLocalIdent;
12
+ module.exports.defaultGetLocalIdent = __nccwpck_require__(256).defaultGetLocalIdent;
13
13
 
14
14
  /***/ }),
15
15
 
16
- /***/ 6944:
16
+ /***/ 8773:
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__(1280);
29
- var _options = _interopRequireDefault(__nccwpck_require__(7361));
30
- var _plugins = __nccwpck_require__(3449);
31
- var _utils = __nccwpck_require__(1525);
29
+ var _options = _interopRequireDefault(__nccwpck_require__(8962));
30
+ var _plugins = __nccwpck_require__(9270);
31
+ var _utils = __nccwpck_require__(256);
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
- /***/ 3449:
201
+ /***/ 9270:
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__(9142));
229
- var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(1734));
230
- var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(188));
228
+ var _postcssImportParser = _interopRequireDefault(__nccwpck_require__(2442));
229
+ var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(1927));
230
+ var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(1950));
231
231
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
232
232
 
233
233
  /***/ }),
234
234
 
235
- /***/ 1734:
235
+ /***/ 1927:
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__(1525);
246
+ var _utils = __nccwpck_require__(256);
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
- /***/ 9142:
355
+ /***/ 2442:
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__(1525);
366
+ var _utils = __nccwpck_require__(256);
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
- /***/ 188:
655
+ /***/ 1950:
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__(1525);
666
+ var _utils = __nccwpck_require__(256);
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
- /***/ 1525:
1018
+ /***/ 256:
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
- /***/ 7361:
7321
+ /***/ 8962:
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__(7685);
7379
+ /******/ var __webpack_exports__ = __nccwpck_require__(4458);
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
- /***/ 2094:
7712
+ /***/ 1595:
7713
7713
  /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
7714
7714
 
7715
7715
  "use strict";
7716
7716
 
7717
7717
 
7718
- module.exports = __nccwpck_require__(6799)["default"];
7718
+ module.exports = __nccwpck_require__(920)["default"];
7719
7719
 
7720
7720
  /***/ }),
7721
7721
 
7722
- /***/ 6799:
7722
+ /***/ 920:
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__(4004));
7736
- var _utils = __nccwpck_require__(2636);
7735
+ var _options = _interopRequireDefault(__nccwpck_require__(9489));
7736
+ var _utils = __nccwpck_require__(1949);
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
- /***/ 2636:
7902
+ /***/ 1949:
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
- /***/ 4004:
9153
+ /***/ 9489:
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__(2094);
9281
+ /******/ var __webpack_exports__ = __nccwpck_require__(1595);
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
- /***/ 7903:
4
+ /***/ 8280:
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
- /***/ 5836:
108
+ /***/ 4134:
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__(7903);
119
+ const helpers_1 = __nccwpck_require__(8280);
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__(5836);
7754
+ const hooks_1 = __nccwpck_require__(4134);
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
@@ -1003,7 +1003,7 @@ async function createContextByConfig(options, bundlerType, config = {}) {
1003
1003
  return {
1004
1004
  entry: getEntryObject(config, "web"),
1005
1005
  targets: config.output?.targets || [],
1006
- version: "0.7.5",
1006
+ version: "0.7.6",
1007
1007
  rootPath,
1008
1008
  distPath,
1009
1009
  cachePath,
@@ -7224,7 +7224,7 @@ var applyServerOptions = (command) => {
7224
7224
  command.option("-o --open [url]", "open the page in browser on startup").option("--port <port>", "specify a port number for server to listen").option("--host <host>", "specify the host that the server listens to");
7225
7225
  };
7226
7226
  function runCli() {
7227
- import_commander.program.name("rsbuild").usage("<command> [options]").version("0.7.5");
7227
+ import_commander.program.name("rsbuild").usage("<command> [options]").version("0.7.6");
7228
7228
  const devCommand = import_commander.program.command("dev");
7229
7229
  const buildCommand = import_commander.program.command("build");
7230
7230
  const previewCommand = import_commander.program.command("preview");
@@ -7314,7 +7314,7 @@ function prepareCli() {
7314
7314
  if (!npm_execpath || npm_execpath.includes("npx-cli.js") || npm_execpath.includes(".bun")) {
7315
7315
  console.log();
7316
7316
  }
7317
- import_shared61.logger.greet(` ${`Rsbuild v${"0.7.5"}`}
7317
+ import_shared61.logger.greet(` ${`Rsbuild v${"0.7.6"}`}
7318
7318
  `);
7319
7319
  }
7320
7320
 
@@ -7341,7 +7341,7 @@ init_config();
7341
7341
  var import_shared62 = require("@rsbuild/shared");
7342
7342
  init_mergeConfig();
7343
7343
  init_constants();
7344
- var version = "0.7.5";
7344
+ var version = "0.7.6";
7345
7345
  // Annotate the CommonJS export names for ESM import in node:
7346
7346
  0 && (module.exports = {
7347
7347
  PLUGIN_CSS_NAME,
package/dist/index.js CHANGED
@@ -1042,7 +1042,7 @@ async function createContextByConfig(options, bundlerType, config = {}) {
1042
1042
  return {
1043
1043
  entry: getEntryObject(config, "web"),
1044
1044
  targets: config.output?.targets || [],
1045
- version: "0.7.5",
1045
+ version: "0.7.6",
1046
1046
  rootPath,
1047
1047
  distPath,
1048
1048
  cachePath,
@@ -7434,7 +7434,7 @@ var applyServerOptions = (command) => {
7434
7434
  command.option("-o --open [url]", "open the page in browser on startup").option("--port <port>", "specify a port number for server to listen").option("--host <host>", "specify the host that the server listens to");
7435
7435
  };
7436
7436
  function runCli() {
7437
- program.name("rsbuild").usage("<command> [options]").version("0.7.5");
7437
+ program.name("rsbuild").usage("<command> [options]").version("0.7.6");
7438
7438
  const devCommand = program.command("dev");
7439
7439
  const buildCommand = program.command("build");
7440
7440
  const previewCommand = program.command("preview");
@@ -7525,7 +7525,7 @@ function prepareCli() {
7525
7525
  if (!npm_execpath || npm_execpath.includes("npx-cli.js") || npm_execpath.includes(".bun")) {
7526
7526
  console.log();
7527
7527
  }
7528
- logger19.greet(` ${`Rsbuild v${"0.7.5"}`}
7528
+ logger19.greet(` ${`Rsbuild v${"0.7.6"}`}
7529
7529
  `);
7530
7530
  }
7531
7531
 
@@ -7553,7 +7553,7 @@ init_config();
7553
7553
  init_mergeConfig();
7554
7554
  init_constants();
7555
7555
  import { logger as logger20 } from "@rsbuild/shared";
7556
- var version = "0.7.5";
7556
+ var version = "0.7.6";
7557
7557
  export {
7558
7558
  PLUGIN_CSS_NAME,
7559
7559
  PLUGIN_SWC_NAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/core",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
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.2",
49
+ "@rspack/core": "0.7.1",
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.5"
54
+ "@rsbuild/shared": "0.7.6"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/connect": "3.4.38",