Closed
Description
Is your feature request related to a problem? Please describe.
PostCSS 8 came with a new plugin API. Right now Nuxt.js users can use new PostCSS plugins because Nuxt.js uses PostCSS 7.
Describe the solution you'd like
Update PostCSS from ^7.0.0
to ^8.0.0
Additional context
The only breaking changes important for Nuxt.js is dropping Node.js 6 and 8 support.
Activity
pi0 commentedon Sep 17, 2020
Hi @ai thanks for creating issue. We also planned doing upgrade. All dependencies dropped Node.js 8 support are currently locked for nuxt 2 to avoid breaking changes however seems for longer term it would be best to bump them in a semver-minor and notify users.
imShara commentedon Nov 3, 2020
katohs commentedon Nov 5, 2020
postcss-nested wasn't available due to postcss8, but it worked after I lowered the version.
danielroe commentedon Dec 6, 2020
This will be closed by #8408
gapipro commentedon Feb 15, 2021
How is this still not merged? Postcss8 is out for half a year almost and most of plugins are not working with older versions. Making our projects hard to maintain.
clarkdo commentedon Feb 16, 2021
@gapipro nuxt v2.15.0 has been released which includes postcss v8 support.
NOTE: postcss-preset-env is disabled in v8 config as it doesn't support postcss v8 for now, so please install all below dependencies explicitly.
yarn add --dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1 # or npm i --save-dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1
janvorisek commentedon Feb 18, 2021
@clarkdo How is this not mentioned anywhere? You literally saved me after spending 2 hours investigating CI issues.
clarkdo commentedon Feb 18, 2021
Sorry, I’ll put it on release note
simllll commentedon Feb 24, 2021
Is there a reason why this ticket is still open?
151 remaining items