-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(webpack)!: update postcss to v8 #9671
Conversation
Notes:
|
Codecov ReportBase: 65.19% // Head: 66.55% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## 2.x #9671 +/- ##
==========================================
+ Coverage 65.19% 66.55% +1.35%
==========================================
Files 94 93 -1
Lines 4155 4075 -80
Branches 1172 1149 -23
==========================================
+ Hits 2709 2712 +3
+ Misses 1167 1103 -64
+ Partials 279 260 -19
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@pi0 When is this going to get merged? This works with configuring sugarss by setting the loader under postcssOptions property right? |
This is what I'm trying to do. Trying to make postcss-loader read sugarss syntax so that I can use .sss extension inside nuxt app. |
@Saggitarie It will be released soon with |
Is nuxt/postcss8 compatible with sugarss (.sss)? |
sugarss is a different parser and also new file extension, so you can set up the new webpack rule, what you need is:
// nuxt.config
export default {
build: {
extend(config, { loaders }) {
config.module.rules.push({
test: /\.sss$/i,
use: [
{ loader: 'vue-style-loader', options: loaders.vueStyle },
{ loader: 'css-loader', options: loaders.css },
{
loader: 'postcss-loader',
options: {
postcssOptions: { parser: 'sugarss' },
},
},
],
});
},
},
}; |
Hey thanks for the tips. Tried your way but I got
I'll dig for an issue on my side but it would be helpful if you have any idea on this. |
Also, I set the PostCSS plugins under build.postcss.plugins in an object form. |
Your requirement for sugarss is a totally new webpack rule, so the setup is independent of the original build.postcss, all the configs are just pure webpack config. BTW, the code I commeted above is for postcss 8, so you can use nuxt/postcss8 module as Pooya mentioned. |
Thanks for your response. Hmm, so will this new feature and nuxt/postcss8 still need the external file (postcss.config.js) to set the plugins to postcss-loader? |
Not necessary anymore since support for PostCSS v8 was introduced in the recently released v7 of the plugin: https://github.com/csstools/postcss-preset-env/releases/tag/7.0.0 |
Hi there, any news about this update? 🙏 |
The cssnano update for webpack included in this MR actually resolves a bug with tailwind classes not being generated (tailwindlabs/tailwindcss#7802), so I once again want to ask friendly what the status of this PR is :) Edit: As this PR is not merged into dev yet, it is also not part of |
Whats the current state of this MR? |
Nuxt 3 will be released in 5 days. After that, there might be time for maintainers to take care of this. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nuxt/types](https://togithub.com/nuxt/nuxt.js) | [`2.15.8` -> `2.16.3`](https://renovatebot.com/diffs/npm/@nuxt%2ftypes/2.15.8/2.16.3) | [![age](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/compatibility-slim/2.15.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/confidence-slim/2.15.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nuxt/nuxt.js</summary> ### [`v2.16.3`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.3) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.16.2...v2.16.3) > **2.16.3** is a patch release with bug fixes. #### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt.js/compare/v2.16.2...2.16.3) ##### 🩹 Fixes - **types:** Add return type for `error()` ([#​19044](https://togithub.com/nuxt/nuxt.js/pull/19044)) - **types:** Bring types from `less` into namespace ([#​19738](https://togithub.com/nuxt/nuxt.js/pull/19738)) - **types:** Sync vue type augmentations with Vue 2.7 ([#​19526](https://togithub.com/nuxt/nuxt.js/pull/19526)) - **config:** Move `preset` to inner `postcssOptions` ([#​19518](https://togithub.com/nuxt/nuxt.js/pull/19518)) - **webpack:** Add `node-fetch-native` to externals list ([#​19755](https://togithub.com/nuxt/nuxt.js/pull/19755)) ##### 🏡 Chore - Release all packages with latest tag except `nuxt` ([4e9dcddcb](https://togithub.com/nuxt/nuxt.js/commit/4e9dcddcb)) - **examples:** Use `2.x` version of nuxt instead of latest ([#​19737](https://togithub.com/nuxt/nuxt.js/pull/19737)) - Lint package files ([6ca842e36](https://togithub.com/nuxt/nuxt.js/commit/6ca842e36)) ##### ❤️ Contributors - Daniel Roe - [@​danielroe](https://togithub.com/danielroe) - Olga Bulat - [@​obulat](https://togithub.com/obulat) - Rafał Chłodnicki - [@​rchl](https://togithub.com/rchl) ### [`v2.16.2`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.2) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.16.1...v2.16.2) > **2.16.2** is a patch release with bug fixes. #### ✨ Highlights The main change in this patch release is that we now patch the `crypto` node built-in during build to allow Nuxt 2 to be used on Node versions greater than Node 16, which should ease the pressure users feel after Node 16 reaches its own EOL this year. > **Warning** > This should not be taken for an endorsement of continuing to run with Webpack 4, which is out of date and has a number of dependencies with issues. I expect that number to continue to grow, and we will not be able to resolve all of them. I would strongly urge migrating to Nuxt 3 if possible and the team will do our best to make this possible over the course of the year ❤️ #### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v2.16.1...v2.16.2) ##### 🚀 Enhancements - **types:** Add basic types for Nuxt interface ([#​9772](https://togithub.com/nuxt/nuxt.js/issues/9772)) ##### 🩹 Fixes - **vue-renderer:** Insert `charset` before `title` ([#​18998](https://togithub.com/nuxt/nuxt.js/issues/18998)) - **types:** Remove non-existent properties from context ([#​19021](https://togithub.com/nuxt/nuxt.js/issues/19021)) - Add minimum node 14.18 version constraint ([#​19112](https://togithub.com/nuxt/nuxt.js/issues/19112)) - **config:** Upgrade md4 -> md5 on node > 16 ([#​19108](https://togithub.com/nuxt/nuxt.js/issues/19108)) - **vue-app:** Handle promise rejection from `asyncData` ([#​18585](https://togithub.com/nuxt/nuxt.js/issues/18585)) ##### 🏡 Chore - Update tag name ([`15787a2`](https://togithub.com/nuxt/nuxt.js/commit/15787a2e5)) - Fix version merge ([`49ea657`](https://togithub.com/nuxt/nuxt.js/commit/49ea657a4)) - Add `@types/jest` ([`d48efa6`](https://togithub.com/nuxt/nuxt.js/commit/d48efa6cf)) ##### ❤️ Contributors - Rafał Chłodnicki ([@​rchl](http://github.com/rchl)) - Daniel Roe ([@​danielroe ](https://togithub.com/danielroe/)) - Pooya Parsa ([@​pi0](https://togithub.com/pi0)) - Harlan Wilton ([@​harlan-zw](http://github.com/harlan-zw)) ### [`v2.16.1`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.1) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.16.0...v2.16.1) > Nuxt 2.16.1 is a patch release with a couple of small bugfixes to last week's 2.16.0 release. #### v2.16.0...v2.16.1 ##### 🩹 Fixes - **deps:** Downgrade `@types` packages depending on webpack 5 ([#​18827](https://togithub.com/nuxt/nuxt.js/issues/18827)) - **config:** Let webpack merge postcss plugins ([#​18839](https://togithub.com/nuxt/nuxt.js/issues/18839)) - **types:** Import `Location` from `vue-router` ([#​18908](https://togithub.com/nuxt/nuxt.js/issues/18908)) ##### 🏡 Chore - Tag 2.x releases appropriately ([`aba93e9`](https://togithub.com/nuxt/nuxt.js/commit/aba93e9a9)) - Revert node types to v16 ([`3d034a3`](https://togithub.com/nuxt/nuxt.js/commit/3d034a30d)) - Remove stub type definitions ([`daed62a`](https://togithub.com/nuxt/nuxt.js/commit/daed62a73)) ##### ❤️ Contributors - H-kishi - Daniel Roe <[email protected]> ### [`v2.16.0`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.0) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.15.8...v2.16.0) > Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus is mostly on releasing the latest fixes and enhancements that have been present in `nuxt-edge` for some time. #### ✨ Highlights - upgrade to [PostCSS 8](https://togithub.com/nuxt/nuxt/pull/9671) - default to [`core-js` v3](https://togithub.com/nuxt/nuxt/pull/9987) - ... full details below ####⚠️ Breaking changes - **In this PR we only support Node 14+**. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until [its own EOL](https://nuxt.com/vision-2023#migrating-to-nuxt-3), Nuxt 2 will only officially support Node versions that have not reached [their EOL](https://togithub.com/nodejs/release#release-schedule). - **New postcss options format**. See [https://github.com/nuxt/nuxt/pull/9671](https://togithub.com/nuxt/nuxt/pull/9671) for full details. - **Dependency upgrades**. A number of dependencies have dropped support for earlier node versions. [`dotenv`](https://togithub.com/nuxt/nuxt/pull/18364) has changed how it parses `.env` files in a number of edge cases. [`glob`](https://togithub.com/nuxt/nuxt/pull/18370) now requires `/` instead of `\` on windows machines. There may also be other changes that affect your usage, so please do upgrade with care. - **Vue 2.7 upgrade**. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7. This may be a good time to consider using the composition API utilities provided by https://github.com/nuxt/bridge instead, which mirror Nuxt 3's more precisely than `@nuxtjs/composition-api`. (You can opt-in to *just* these utilities by disabling the other bridge modules individually.) #### Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v2.15.8...v2.16.0) ##### 🚀 Enhancements - **config:** Support `nuxtrc` in dist directory ([#​9280](https://togithub.com/nuxt/nuxt.js/issues/9280)) - **generator:** Add ignoreEnv generate option during ensureBuild(cmd) ([#​8955](https://togithub.com/nuxt/nuxt.js/issues/8955)) - **server:** Allow disabling `serve-static` middleware ([#​9365](https://togithub.com/nuxt/nuxt.js/issues/9365)) - **types:** Add `asyncData` return types to component instance type ([#​9239](https://togithub.com/nuxt/nuxt.js/issues/9239)) - **vue-app:** `context.beforeSerialize` method ([#​9332](https://togithub.com/nuxt/nuxt.js/issues/9332)) - **vue-app:** Pass `store` to `createRouter` ([#​9629](https://togithub.com/nuxt/nuxt.js/issues/9629)) - Default to `core-js` version 3 ([#​9987](https://togithub.com/nuxt/nuxt.js/issues/9987)) - **webpack:**⚠️ Update postcss to v8 ([#​9671](https://togithub.com/nuxt/nuxt.js/issues/9671)) ##### 🩹 Fixes - **vue-app:** Respect `scroll-margin-top` when navigating with hash ([#​9187](https://togithub.com/nuxt/nuxt.js/issues/9187)) - **webpack:** Use `javascript/auto` for js rule ([#​9180](https://togithub.com/nuxt/nuxt.js/issues/9180)) - **server:** Unregister error event listener ([#​9245](https://togithub.com/nuxt/nuxt.js/issues/9245)) - **babel-preset-app:** Respect explicit options.targets for modern preset ([#​9337](https://togithub.com/nuxt/nuxt.js/issues/9337)) - **types:** Add nuxt.config alias type ([#​9424](https://togithub.com/nuxt/nuxt.js/issues/9424)) - **vue-app:** Check whether route exists within nuxt app before replacing ([#​9431](https://togithub.com/nuxt/nuxt.js/issues/9431)) - **vue-renderer:** Decode route path for `payload.js` ([#​9494](https://togithub.com/nuxt/nuxt.js/issues/9494)) - **vue-app:** Don't normalise route path if it's valid ([#​9460](https://togithub.com/nuxt/nuxt.js/issues/9460)) - **vue-app:** Redirect to external url replaces current history entry ([#​9500](https://togithub.com/nuxt/nuxt.js/issues/9500)) - **utils:** `trailingSlash` causes error with dynamic nuxt-child routes ([#​9505](https://togithub.com/nuxt/nuxt.js/issues/9505)) - **types:** Add `onNuxtLoaded` and `onNuxtReady` types ([#​9510](https://togithub.com/nuxt/nuxt.js/issues/9510)) - **vue-app:** Re-register components construtor in HMR ([#​9539](https://togithub.com/nuxt/nuxt.js/issues/9539)) - **types:** Add typing for `build.stats` options ([#​9555](https://togithub.com/nuxt/nuxt.js/issues/9555)) - **babel:** Loose option for babel private-property-in-object ([#​9631](https://togithub.com/nuxt/nuxt.js/issues/9631)) - **vue-app:** Serialize route meta to allow functions ([#​9634](https://togithub.com/nuxt/nuxt.js/issues/9634)) - **vue-app:** `null` check for `$root` access ([#​9150](https://togithub.com/nuxt/nuxt.js/issues/9150)) - **generator:** Allow passing `builder` to `getGenerator` ([#​9574](https://togithub.com/nuxt/nuxt.js/issues/9574)) - **generator:** Throw an error when Builder is missing ([#​9663](https://togithub.com/nuxt/nuxt.js/issues/9663)) - **vue-app:** Use correct `$config` for finding basePath ([#​9706](https://togithub.com/nuxt/nuxt.js/issues/9706)) - **vue-renderer:** Ensure custom build indicator preserves some whitespace ([#​9705](https://togithub.com/nuxt/nuxt.js/issues/9705)) - 'npm run test' fails because the last command lacks 'yarn' ([#​9761](https://togithub.com/nuxt/nuxt.js/issues/9761)) - **generator:** Decode path with `ufo` ([#​9739](https://togithub.com/nuxt/nuxt.js/issues/9739)) - **cli:** Ensure nuxt instance is closed when skipping build ([`3e9d7e3`](https://togithub.com/nuxt/nuxt.js/commit/3e9d7e3e7)) - Nuxt-child-key in web-types.json ([#​9792](https://togithub.com/nuxt/nuxt.js/issues/9792)) - **types:** Return type of $fetch ([#​9854](https://togithub.com/nuxt/nuxt.js/issues/9854)) - **deps:** Update `ua-parser-js` to 1.x ([#​9979](https://togithub.com/nuxt/nuxt.js/issues/9979)) - **deps:** Update `ya-parser-js` to latest `0.7.x` ([#​9979](https://togithub.com/nuxt/nuxt.js/issues/9979)) - **vue-app:** Call ssrContext.unsetMutationObserver only if it exists ([#​10132](https://togithub.com/nuxt/nuxt.js/issues/10132)) - **webpack:** Allow files with `.cjs` extension to be transpiled ([#​10340](https://togithub.com/nuxt/nuxt.js/issues/10340)) - **vue-app:** Preview mode fetch ([#​10489](https://togithub.com/nuxt/nuxt.js/issues/10489)) - **webpack:** Resolve `.wasm` extension with lower priority ([#​10676](https://togithub.com/nuxt/nuxt.js/issues/10676)) - **vue-app:** Clear hide timeout when calling `clear()` ([#​10086](https://togithub.com/nuxt/nuxt.js/issues/10086)) ##### 📦 Build - Use 7 digit edge hashes ([`0501a42`](https://togithub.com/nuxt/nuxt.js/commit/0501a424b)) - Upgrade to rollup v3 ([#​18686](https://togithub.com/nuxt/nuxt.js/issues/18686)) ##### 🌊 Types - Add `prefetchPayloads` to router options ([#​9715](https://togithub.com/nuxt/nuxt.js/issues/9715)) ##### 🏡 Chore - **release:** V2.15.6 ([`a53fd32`](https://togithub.com/nuxt/nuxt.js/commit/a53fd32d6)) - **pkg:** Build for es2019 target ([#​9328](https://togithub.com/nuxt/nuxt.js/issues/9328)) - **types:** Add types for new `false` option for `render.static` ([#​9372](https://togithub.com/nuxt/nuxt.js/issues/9372)) - Update error tests ([`d4e5998`](https://togithub.com/nuxt/nuxt.js/commit/d4e5998f9)) - **test:** Revert jest and babel-jest to 26 ([#​9377](https://togithub.com/nuxt/nuxt.js/issues/9377)) - Ignore audit 1754,1755 ([`39f7859`](https://togithub.com/nuxt/nuxt.js/commit/39f785967)) - Fix vetur extension syntax for GitPod ([#​9572](https://togithub.com/nuxt/nuxt.js/issues/9572)) - Ignore globby > 12 upgrade as needs native esm ([`e0968a3`](https://togithub.com/nuxt/nuxt.js/commit/e0968a3ad)) - Update rollup plugins ([`5614399`](https://togithub.com/nuxt/nuxt.js/commit/5614399b4)) - Fix code formatting ([`17bbb21`](https://togithub.com/nuxt/nuxt.js/commit/17bbb21b5)) - **utils:** Improve `stripWhitespace` utility ([#​9668](https://togithub.com/nuxt/nuxt.js/issues/9668)) - Update license year to present ([#​9682](https://togithub.com/nuxt/nuxt.js/issues/9682)) - Add separate file with security disclosure info ([#​9738](https://togithub.com/nuxt/nuxt.js/issues/9738)) - Update logo ([#​9796](https://togithub.com/nuxt/nuxt.js/issues/9796)) - **doc:** Fix link to contribution guide ([#​9815](https://togithub.com/nuxt/nuxt.js/issues/9815)) - **test:** Fix external redirect link ([#​9816](https://togithub.com/nuxt/nuxt.js/issues/9816)) - Update funding.yml ([`1f85137`](https://togithub.com/nuxt/nuxt.js/commit/1f8513720)) - Update lockfile ([`7614360`](https://togithub.com/nuxt/nuxt.js/commit/76143601f)) - Update audit list ([`6f73c36`](https://togithub.com/nuxt/nuxt.js/commit/6f73c36ae)) - Update lockfile and audit ([`1878b26`](https://togithub.com/nuxt/nuxt.js/commit/1878b26f9)) - Update issue template with nuxt 3 ([#​9948](https://togithub.com/nuxt/nuxt.js/issues/9948)) - Enable blank issues ([`54542c1`](https://togithub.com/nuxt/nuxt.js/commit/54542c1b0)) - **radme:** Fix browserstack and saucelabs icons ([#​10068](https://togithub.com/nuxt/nuxt.js/issues/10068)) - Update dependencies ([#​10510](https://togithub.com/nuxt/nuxt.js/issues/10510)) - Update repo ([`773d292`](https://togithub.com/nuxt/nuxt.js/commit/773d292b5)) - Ignore vue and vuex major updates ([`bafc814`](https://togithub.com/nuxt/nuxt.js/commit/bafc814ef)) - Update README.md ([#​10831](https://togithub.com/nuxt/nuxt.js/issues/10831)) - Update pull request template ([`0db7e7b`](https://togithub.com/nuxt/nuxt.js/commit/0db7e7b39)) - Update issue templates ([`f36fb9c`](https://togithub.com/nuxt/nuxt.js/commit/f36fb9cd0)) - Rename 2.x bug template ([`ba966cf`](https://togithub.com/nuxt/nuxt.js/commit/ba966cf9e)) - Move nuxt 2 report to bottom ([`ce7b1a9`](https://togithub.com/nuxt/nuxt.js/commit/ce7b1a939)) - Bump `ua-parser-js` version ([`1cedad5`](https://togithub.com/nuxt/nuxt.js/commit/1cedad5fc)) - Bump test/dev dependencies ([#​18672](https://togithub.com/nuxt/nuxt.js/issues/18672)) - Upgrade unjs dependencies ([#​18670](https://togithub.com/nuxt/nuxt.js/issues/18670)) - Use named export from `defu` ([#​18679](https://togithub.com/nuxt/nuxt.js/issues/18679)) ##### ✅ Tests - Update async size test ([`23e2018`](https://togithub.com/nuxt/nuxt.js/commit/23e2018a1)) - Update size limit tests ([`4f11d3c`](https://togithub.com/nuxt/nuxt.js/commit/4f11d3c1a)) ##### 🤖 CI - Update test branch condition ([`331a2d7`](https://togithub.com/nuxt/nuxt.js/commit/331a2d724)) - Update workflows ([`9677fbe`](https://togithub.com/nuxt/nuxt.js/commit/9677fbe53)) #####⚠️ Breaking Changes - **webpack:**⚠️ Update postcss to v8 ([#​9671](https://togithub.com/nuxt/nuxt.js/issues/9671)) ##### ❤️ Contributors - Xin Du (Clark) <[email protected]> - Daniel Roe <[email protected]> - Arik - Bot08 - Pooya Parsa <[email protected]> - Yuyao Nie <nieyuyao0826@​hotmail.com> - Sébastien Chopin <[email protected]> - Clément Ollivier <[email protected]> - Michiel Doesburg - Rafał Chłodnicki <[email protected]> - Abdfn - K-utsumi - Matteo Rigon <matteo.rigon7@​gmail.com> - Mehmet - Thibault Vlacich <[email protected]> - Jon-ht <jonathan.huteau15@​gmail.com> - Ahmadou Waly NDIAYE <[email protected]> - Daniil Okhlopkov - Aewshyae - Michał Kędrzyński <[email protected]> - Mrazauskas - Loick Le Digabel <[email protected]> - Payel Karmakar - SlayerOfTheBad - Ofer Shaal <[email protected]> - Mohammad Saleh Fadaei - Andrew Luca <[email protected]> - David Ovčačík <[email protected]> - Carbotaniuman - William L'Archeveque <[email protected]> - Matthieu Sieben </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/tomacheese/tomacheese.com). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTkuNSIsInVwZGF0ZWRJblZlciI6IjM1LjkuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Types of changes
Description
Update postcss to v8:
Disable postcss-preset-env as it doesn't support postcss8Warn message if user is usingbuild.postcss.preset
Add autoprefixer as default plugins of postcssNOTE: this is a breaking change for
build.postcss
config:postcss-preset-env
andbuild.postcss.preset
have been removed as it doesn't support postcss v8build.postcss
has been moved to postss-loader options format:build.postcss.plugins
tobuild.postcss.postcssOptions.plugins
, the object format is still samebuild.postcss.order
tobuild.postcss.postcssOptions.order
Checklist: