Properly Configured Wireit Production Builds (#43716)

This commit is contained in:
Christopher Allford 2024-01-22 10:13:45 -08:00 committed by GitHub
parent 4eb8626621
commit db8da8d712
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 96 additions and 4 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -95,6 +95,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"src/**/*.scss"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -125,6 +125,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"src/**/*.scss"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -121,6 +121,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"src/**/*.scss"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -206,6 +206,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"babel.config.js",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -130,6 +130,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"src/**/*.scss"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -140,6 +140,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"src/**/*.scss"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -126,6 +126,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"src/**/*.scss"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.

View File

@ -180,6 +180,12 @@
"build:project:bundle": {
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "production"
}
},
"files": [
"webpack.config.js",
"src/**/*.scss"

View File

@ -264,8 +264,14 @@
"command": "webpack",
"clean": "if-file-deleted",
"env": {
"NODE_ENV": "production",
"WC_ADMIN_PHASE": "core"
"NODE_ENV": {
"external": true,
"default": "production"
},
"WC_ADMIN_PHASE": {
"external": true,
"default": "core"
}
},
"files": [
"webpack.config.js",

View File

@ -387,10 +387,12 @@
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true
"external": true,
"default": "production"
},
"BABEL_ENV": {
"external": true
"external": true,
"default": "default"
},
"WOOCOMMERCE_BLOCKS_PHASE": {
"external": true

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Corrected build configuration for packages that weren't outputting minified code.