@rsbuild/core 1.0.1-rc.5 → 1.0.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.
@@ -1,7 +1,7 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 107: (__unused_webpack_module, exports, __nccwpck_require__) => {
4
+ 474: (__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
- 428: (__unused_webpack_module, exports, __nccwpck_require__) => {
123
+ 63: (__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__(147);
131
131
  const path_1 = __nccwpck_require__(17);
132
132
  const lite_tapable_1 = __nccwpck_require__(348);
133
- const helpers_1 = __nccwpck_require__(107);
133
+ const helpers_1 = __nccwpck_require__(474);
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__(17);
315
- const hooks_1 = __nccwpck_require__(428);
315
+ const hooks_1 = __nccwpck_require__(63);
316
316
  Object.defineProperty(exports, "getCompilerHooks", {
317
317
  enumerable: true,
318
318
  get: function () {
package/dist/index.cjs CHANGED
@@ -2297,7 +2297,7 @@ async function createContext(options, userConfig, bundlerType) {
2297
2297
  const rsbuildConfig = await withDefaultConfig(rootPath, userConfig);
2298
2298
  const cachePath = (0, import_node_path9.join)(rootPath, "node_modules", ".cache");
2299
2299
  return {
2300
- version: "1.0.1-rc.5",
2300
+ version: "1.0.2",
2301
2301
  rootPath,
2302
2302
  distPath: "",
2303
2303
  cachePath,
@@ -9669,7 +9669,7 @@ var init_init = __esm({
9669
9669
 
9670
9670
  // src/cli/commands.ts
9671
9671
  function runCli() {
9672
- import_commander.program.name("rsbuild").usage("<command> [options]").version("1.0.1-rc.5");
9672
+ import_commander.program.name("rsbuild").usage("<command> [options]").version("1.0.2");
9673
9673
  const devCommand = import_commander.program.command("dev");
9674
9674
  const buildCommand = import_commander.program.command("build");
9675
9675
  const previewCommand = import_commander.program.command("preview");
@@ -9792,7 +9792,7 @@ function prepareCli() {
9792
9792
  if (!npm_execpath || npm_execpath.includes("npx-cli.js") || npm_execpath.includes(".bun")) {
9793
9793
  console.log();
9794
9794
  }
9795
- import_rslog.logger.greet(` ${`Rsbuild v${"1.0.1-rc.5"}`}
9795
+ import_rslog.logger.greet(` ${`Rsbuild v${"1.0.2"}`}
9796
9796
  `);
9797
9797
  }
9798
9798
  var init_prepare = __esm({
@@ -9876,7 +9876,7 @@ init_logger();
9876
9876
  init_mergeConfig();
9877
9877
  init_helpers();
9878
9878
  init_constants();
9879
- var version = "1.0.1-rc.5";
9879
+ var version = "1.0.2";
9880
9880
  // Annotate the CommonJS export names for ESM import in node:
9881
9881
  0 && (module.exports = {
9882
9882
  PLUGIN_CSS_NAME,
package/dist/index.js CHANGED
@@ -46,12 +46,12 @@ var __publicField = (obj, key, value) => {
46
46
  return value;
47
47
  };
48
48
 
49
- // ../../node_modules/.pnpm/@modern-js+module-tools@2.58.3_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js
49
+ // ../../node_modules/.pnpm/@modern-js+module-tools@2.59.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js
50
50
  import path from "path";
51
51
  import { fileURLToPath } from "url";
52
52
  var getFilename, getDirname, __dirname, __filename;
53
53
  var init_esm = __esm({
54
- "../../node_modules/.pnpm/@modern-js+module-tools@2.58.3_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
54
+ "../../node_modules/.pnpm/@modern-js+module-tools@2.59.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
55
55
  "use strict";
56
56
  getFilename = () => fileURLToPath(import.meta.url);
57
57
  getDirname = () => path.dirname(getFilename());
@@ -2335,7 +2335,7 @@ async function createContext(options, userConfig, bundlerType) {
2335
2335
  const rsbuildConfig = await withDefaultConfig(rootPath, userConfig);
2336
2336
  const cachePath = join6(rootPath, "node_modules", ".cache");
2337
2337
  return {
2338
- version: "1.0.1-rc.5",
2338
+ version: "1.0.2",
2339
2339
  rootPath,
2340
2340
  distPath: "",
2341
2341
  cachePath,
@@ -9778,7 +9778,7 @@ import { existsSync } from "fs";
9778
9778
  import { program } from "../compiled/commander/index.js";
9779
9779
  import color16 from "../compiled/picocolors/index.js";
9780
9780
  function runCli() {
9781
- program.name("rsbuild").usage("<command> [options]").version("1.0.1-rc.5");
9781
+ program.name("rsbuild").usage("<command> [options]").version("1.0.2");
9782
9782
  const devCommand = program.command("dev");
9783
9783
  const buildCommand = program.command("build");
9784
9784
  const previewCommand = program.command("preview");
@@ -9899,7 +9899,7 @@ function prepareCli() {
9899
9899
  if (!npm_execpath || npm_execpath.includes("npx-cli.js") || npm_execpath.includes(".bun")) {
9900
9900
  console.log();
9901
9901
  }
9902
- logger.greet(` ${`Rsbuild v${"1.0.1-rc.5"}`}
9902
+ logger.greet(` ${`Rsbuild v${"1.0.2"}`}
9903
9903
  `);
9904
9904
  }
9905
9905
  var init_prepare = __esm({
@@ -9970,7 +9970,7 @@ init_mergeConfig();
9970
9970
  init_helpers();
9971
9971
  init_constants();
9972
9972
  import { rspack as rspack10 } from "@rspack/core";
9973
- var version = "1.0.1-rc.5";
9973
+ var version = "1.0.2";
9974
9974
  export {
9975
9975
  PLUGIN_CSS_NAME,
9976
9976
  PLUGIN_SWC_NAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/core",
3
- "version": "1.0.1-rc.5",
3
+ "version": "1.0.2",
4
4
  "description": "The Rspack-based build tool.",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "bugs": {
@@ -46,10 +46,10 @@
46
46
  "types.d.ts"
47
47
  ],
48
48
  "dependencies": {
49
- "@rspack/core": "~1.0.3",
49
+ "@rspack/core": "~1.0.4",
50
50
  "@rspack/lite-tapable": "~1.0.0",
51
- "@swc/helpers": "^0.5.12",
52
- "caniuse-lite": "^1.0.30001655",
51
+ "@swc/helpers": "^0.5.13",
52
+ "caniuse-lite": "^1.0.30001659",
53
53
  "core-js": "~3.38.1"
54
54
  },
55
55
  "devDependencies": {
@@ -73,17 +73,18 @@
73
73
  "html-rspack-plugin": "6.0.1",
74
74
  "http-proxy-middleware": "^2.0.6",
75
75
  "jiti": "^1.21.6",
76
- "launch-editor-middleware": "^2.8.1",
76
+ "launch-editor-middleware": "^2.9.1",
77
77
  "mrmime": "^2.0.0",
78
78
  "on-finished": "2.4.1",
79
79
  "open": "^8.4.0",
80
80
  "picocolors": "^1.1.0",
81
- "postcss": "^8.4.43",
81
+ "postcss": "^8.4.45",
82
82
  "postcss-load-config": "6.0.1",
83
83
  "postcss-loader": "8.1.1",
84
84
  "prebundle": "1.2.2",
85
85
  "reduce-configs": "^1.0.0",
86
- "rslog": "^1.2.2",
86
+ "rsbuild-dev-middleware": "0.1.1",
87
+ "rslog": "^1.2.3",
87
88
  "rspack-chain": "^1.0.0",
88
89
  "rspack-manifest-plugin": "5.0.1",
89
90
  "sirv": "^2.0.4",
@@ -92,7 +93,6 @@
92
93
  "typescript": "^5.5.2",
93
94
  "webpack": "^5.94.0",
94
95
  "webpack-bundle-analyzer": "^4.10.2",
95
- "rsbuild-dev-middleware": "0.1.1",
96
96
  "webpack-merge": "6.0.1",
97
97
  "ws": "^8.18.0"
98
98
  },