Skip to content
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

[warning in terminal] Update PostCSS Preset Env to version 7 #930

Open
christinach opened this issue Aug 16, 2023 · 1 comment
Open

[warning in terminal] Update PostCSS Preset Env to version 7 #930

christinach opened this issue Aug 16, 2023 · 1 comment

Comments

@christinach
Copy link
Member

While deploying with capistrano it took a long time in yarn install.
One of the messages in the console:
This version of postcss-preset-env is not optimised to work with PostCSS 8. │
01 │ Please update to version 7 of PostCSS Preset Env.

@christinach
Copy link
Member Author

I checked why this package is used: yarn why postcss-preset-env

yarn why postcss-preset-env      
yarn why v1.22.5
[1/4] 🤔  Why do we have the module "postcss-preset-env"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
   - "@rails#webpacker" depends on it
   - Hoisted from "@rails#webpacker#postcss-preset-env"
info Disk size without dependencies: "180KB"
info Disk size with unique dependencies: "10.08MB"
info Disk size with transitive dependencies: "12.76MB"
info Number of shared dependencies: 55
✨  Done in 0.67s.

We don't use webpacker anymore. I removed it from package.json and yarn install.

@christinach christinach changed the title Update PostCSS Preset Env to version 7 [warning in terminal] Update PostCSS Preset Env to version 7 Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant