@nx/angular-rspack 21.5.0-beta.0 → 21.5.0-beta.1
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"angular-rspack-plugin.d.ts","sourceRoot":"","sources":["../../../src/lib/plugins/angular-rspack-plugin.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,KAAK,QAAQ,EAEb,KAAK,oBAAoB,EAE1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,KAAK,WAAW,EAGhB,KAAK,oCAAoC,EAC1C,MAAM,WAAW,CAAC;AAUnB,qBAAa,mBAAoB,YAAW,oBAAoB;;gBAS5D,OAAO,EAAE,oCAAoC,EAC7C,WAAW,CAAC,EAAE,WAAW;IAuB3B,KAAK,CAAC,QAAQ,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"angular-rspack-plugin.d.ts","sourceRoot":"","sources":["../../../src/lib/plugins/angular-rspack-plugin.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,KAAK,QAAQ,EAEb,KAAK,oBAAoB,EAE1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,KAAK,WAAW,EAGhB,KAAK,oCAAoC,EAC1C,MAAM,WAAW,CAAC;AAUnB,qBAAa,mBAAoB,YAAW,oBAAoB;;gBAS5D,OAAO,EAAE,oCAAoC,EAC7C,WAAW,CAAC,EAAE,WAAW;IAuB3B,KAAK,CAAC,QAAQ,EAAE,QAAQ;YAoQV,gBAAgB;CAgC/B"}
|
|
@@ -138,7 +138,11 @@ class AngularRspackPlugin {
|
|
|
138
138
|
let budgetFailures;
|
|
139
139
|
compiler.hooks.done.tap(PLUGIN_NAME, (statsValue) => {
|
|
140
140
|
const stats = statsValue.toJson();
|
|
141
|
-
|
|
141
|
+
const isPlatformServer = Array.isArray(compiler.options.target)
|
|
142
|
+
? compiler.options.target.some((target) => target === 'node' || target == 'async-node')
|
|
143
|
+
: compiler.options.target === 'node' ||
|
|
144
|
+
compiler.options.target === 'async-node';
|
|
145
|
+
if (budgets?.length && !isPlatformServer) {
|
|
142
146
|
budgetFailures = [...(0, private_1.checkBudgets)(budgets, stats)];
|
|
143
147
|
for (const { severity, message } of budgetFailures) {
|
|
144
148
|
switch (severity) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular-rspack",
|
|
3
|
-
"version": "21.5.0-beta.
|
|
3
|
+
"version": "21.5.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@ampproject/remapping": "2.3.0",
|
|
49
49
|
"@babel/core": "7.26.10",
|
|
50
50
|
"@discoveryjs/json-ext": "0.6.3",
|
|
51
|
-
"@nx/angular-rspack-compiler": "21.5.0-beta.
|
|
52
|
-
"@nx/devkit": "21.5.0-beta.
|
|
51
|
+
"@nx/angular-rspack-compiler": "21.5.0-beta.1",
|
|
52
|
+
"@nx/devkit": "21.5.0-beta.1",
|
|
53
53
|
"ansi-colors": "4.1.3",
|
|
54
54
|
"autoprefixer": "10.4.21",
|
|
55
55
|
"deepmerge": "^4.3.1",
|