I’m starting a new sage project with Tailwind, but I’ve issues when I’m trying to install
What I did :
composer create-project roots/sage yarn && yarn build
I had those errors, but I ran the joshuafredrickson solution :
yarn add autoprefixer@^9.8.6 -D yarn add postcss-loader@~3.0.0 -D
So far, so good. My project works.
Then, I want to use PurgeCSS, and I follow this guide, but when I run
yarn add --dev purgecss-webpack-plugin , I have this error and I’m stuck with it…:
error An unexpected error occurred: “could not find a copy of webpack to link in /path_to_my_project/node_modules/purgecss-webpack-plugin/node_modules”.
I tried several fixes, bu nothing works… Can someone help me installing purgecss ?
Thanks a lot !!