@esmx/rspack 3.0.0-rc.11 → 3.0.0-rc.12

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/dist/app.mjs CHANGED
@@ -104,11 +104,14 @@ function rewriteBuild(esmx, options = {}) {
104
104
  }
105
105
  }
106
106
  }
107
- await createRsBuild([
107
+ const ok = await createRsBuild([
108
108
  generateBuildConfig(esmx, options, "client"),
109
109
  generateBuildConfig(esmx, options, "server"),
110
110
  generateBuildConfig(esmx, options, "node")
111
111
  ]).build();
112
+ if (!ok) {
113
+ return false;
114
+ }
112
115
  esmx.writeSync(
113
116
  esmx.resolvePath("dist/index.js"),
114
117
  `
package/package.json CHANGED
@@ -60,10 +60,10 @@
60
60
  }
61
61
  },
62
62
  "dependencies": {
63
- "@esmx/import": "3.0.0-rc.11",
64
- "@esmx/rspack-module-link-plugin": "3.0.0-rc.11",
65
- "@npmcli/arborist": "^8.0.0",
66
- "@rspack/core": "1.2.8",
63
+ "@esmx/import": "3.0.0-rc.12",
64
+ "@esmx/rspack-module-link-plugin": "3.0.0-rc.12",
65
+ "@npmcli/arborist": "^9.0.1",
66
+ "@rspack/core": "1.3.0",
67
67
  "css-loader": "^7.1.2",
68
68
  "less-loader": "^12.2.0",
69
69
  "node-polyfill-webpack-plugin": "^4.1.0",
@@ -76,8 +76,9 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@biomejs/biome": "1.9.4",
79
- "@esmx/core": "3.0.0-rc.11",
80
- "@esmx/lint": "3.0.0-rc.11",
79
+ "@esmx/core": "3.0.0-rc.12",
80
+ "@esmx/lint": "3.0.0-rc.12",
81
+ "@gez/lint": "3.0.0-rc.9",
81
82
  "@types/node": "22.13.10",
82
83
  "@types/npmcli__arborist": "^5.6.11",
83
84
  "@types/pacote": "^11.1.8",
@@ -89,7 +90,7 @@
89
90
  "unbuild": "2.0.0",
90
91
  "vitest": "3.0.8"
91
92
  },
92
- "version": "3.0.0-rc.11",
93
+ "version": "3.0.0-rc.12",
93
94
  "type": "module",
94
95
  "private": false,
95
96
  "exports": {
@@ -108,5 +109,5 @@
108
109
  "template",
109
110
  "public"
110
111
  ],
111
- "gitHead": "0920e0485284528eb642a7078f4cb48b013352a5"
112
+ "gitHead": "7d2c2fc4fe2cc98ebdbc12560f19637ca04398e5"
112
113
  }
package/src/app.ts CHANGED
@@ -293,11 +293,14 @@ function rewriteBuild(esmx: Esmx, options: RspackAppOptions = {}) {
293
293
  }
294
294
  }
295
295
  }
296
- await createRsBuild([
296
+ const ok = await createRsBuild([
297
297
  generateBuildConfig(esmx, options, 'client'),
298
298
  generateBuildConfig(esmx, options, 'server'),
299
299
  generateBuildConfig(esmx, options, 'node')
300
300
  ]).build();
301
+ if (!ok) {
302
+ return false;
303
+ }
301
304
  esmx.writeSync(
302
305
  esmx.resolvePath('dist/index.js'),
303
306
  `