Skip to content

Commit

Permalink
WP Scripts: Revert changes that inline CSS imports early in the build…
Browse files Browse the repository at this point in the history
… process
  • Loading branch information
gziolo committed Nov 18, 2024
1 parent 134e4b4 commit 217160c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 34 deletions.
32 changes: 1 addition & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"npm-run-all": "4.1.5",
"patch-package": "8.0.0",
"postcss": "8.4.38",
"postcss-import": "16.1.0",
"postcss-loader": "6.2.1",
"postcss-local-keyframes": "^0.0.2",
"prettier": "npm:[email protected]",
Expand Down
1 change: 1 addition & 0 deletions packages/scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Bug Fix

- Make `start` script more resilient for developer errors ([#66752](https://github.com/WordPress/gutenberg/pull/66752)).
- Revert changes from [#61121](https://github.com/WordPress/gutenberg/pull/61121) that inlined CSS files imported from other CSS files before optimization in the `build` command.

## 30.4.0 (2024-10-30)

Expand Down
1 change: 0 additions & 1 deletion packages/scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const cssLoaders = [
plugins: isProduction
? [
...postcssPlugins,
require( 'postcss-import' ),
require( 'cssnano' )( {
// Provide a fallback configuration if there's not
// one explicitly available in the project.
Expand Down
1 change: 0 additions & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"npm-package-json-lint": "^6.4.0",
"npm-packlist": "^3.0.0",
"postcss": "^8.4.5",
"postcss-import": "^16.1.0",
"postcss-loader": "^6.2.1",
"prettier": "npm:[email protected]",
"puppeteer-core": "^23.1.0",
Expand Down

0 comments on commit 217160c

Please sign in to comment.