postcss8
postcss8 copied to clipboard
DeprecationWarning on @nuxt/postcss8
ERROR (node:34262) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /node_modules/@nuxt/postcss8/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".
Related with https://github.com/postcss/postcss/issues/1455
And fixed in the latest postcss: https://github.com/postcss/postcss/issues/1455#issuecomment-826016865
Resolution would be to update @nuxt/postcss8 to the latest postcss version.
Hi @bkintanar i will update minimum version but i guess recreation of lock file or yarn upgrade @nuxt/postcss8 should also do the trick :)
@pi0 looks like you are right. removing yarn.lock fixed it. I guess what I removed was package-lock.json which shouldn't be there in the first place. Thanks for updating the minimum version. 👍