@roots/bud-build 2024.6.19-7 → 2024.6.20-7
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/config/bail.js +1 -1
- package/lib/config/stats.js +1 -1
- package/package.json +5 -5
- package/src/config/bail.ts +5 -2
- package/src/config/optimization.ts +1 -0
- package/src/config/stats.ts +1 -1
package/lib/config/bail.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const bail = async ({ hooks, isProduction }) => hooks.filter(`build.bail`, isProduction);
|
1
|
+
export const bail = async ({ context, hooks, isProduction, }) => hooks.filter(`build.bail`, isProduction && !context.ignoreErrors);
|
package/lib/config/stats.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const stats = async (app) => app.hooks.filter(`build.stats`, { preset: `
|
1
|
+
export const stats = async (app) => app.hooks.filter(`build.stats`, { preset: `none` });
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@roots/bud-build",
|
3
|
-
"version": "2024.6.
|
3
|
+
"version": "2024.6.20-7",
|
4
4
|
"description": "bud.js core module",
|
5
5
|
"engines": {
|
6
6
|
"node": ">=16"
|
@@ -169,14 +169,14 @@
|
|
169
169
|
"types": "./lib/index.d.ts",
|
170
170
|
"module": "./lib/index.js",
|
171
171
|
"devDependencies": {
|
172
|
-
"@roots/bud-api": "2024.6.
|
173
|
-
"@roots/bud-hooks": "2024.6.
|
172
|
+
"@roots/bud-api": "2024.6.20-7",
|
173
|
+
"@roots/bud-hooks": "2024.6.20-7",
|
174
174
|
"@skypack/package-check": "0.2.2",
|
175
175
|
"@types/node": "20.12.8"
|
176
176
|
},
|
177
177
|
"dependencies": {
|
178
|
-
"@roots/bud-framework": "2024.6.
|
179
|
-
"@roots/bud-support": "2024.6.
|
178
|
+
"@roots/bud-framework": "2024.6.20-7",
|
179
|
+
"@roots/bud-support": "2024.6.20-7",
|
180
180
|
"tslib": "2.6.2"
|
181
181
|
},
|
182
182
|
"volta": {
|
package/src/config/bail.ts
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
import type {Factory} from '@roots/bud-build/config'
|
2
2
|
|
3
|
-
export const bail: Factory<'bail'> = async ({
|
4
|
-
|
3
|
+
export const bail: Factory<'bail'> = async ({
|
4
|
+
context,
|
5
|
+
hooks,
|
6
|
+
isProduction,
|
7
|
+
}) => hooks.filter(`build.bail`, isProduction && !context.ignoreErrors)
|
@@ -25,6 +25,7 @@ export const optimization: Factory<`optimization`> = async ({
|
|
25
25
|
`build.optimization.providedExports`,
|
26
26
|
isProduction,
|
27
27
|
),
|
28
|
+
|
28
29
|
/**
|
29
30
|
* Will be new default in webpack 6
|
30
31
|
* @see {@link https://webpack.js.org/configuration/optimization/#optimizationremoveavailablemodules}
|
package/src/config/stats.ts
CHANGED