-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inline the PostCSS config file into the webpack config (#45030)
* Specify autoprefixer and postcss-custom-properties plugins as top-level dependencies They were specified only in `calypso-build/package.json` until now, which is not entirely correct. The packages are used a lot outside the `calypso-build` context. * calypso-build: add new postCssOptions option to the SASS loader Allows for more powerful configuration of the PostCSS pipeline, e.g., inlining the config completely instead of loading it from file. * Remove client/postcss.config.js in favor of inline config in webpack.config.js The config file doesn't need to be loaded 800+ times for every .scss compilation. It's created only once when loading the webpack config. * Change the plugins function into a simple static array
- Loading branch information
Showing
5 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters