Open jpscharf opened 5 years ago
Nothing we can really do about this on our end, this is just how most build systems are designed to run. The same things happens out of the box with vue-cli for example too — all component style blocks are processed completely independently instead of concatenating all of the CSS and processing it together.
Description:
When using tailwind with postCss, it is ran multiple times. At least twice, and then once for any vue component that have styles. I have a plugin that generates a lot of classes. When I run
npm run dev
it takes ≈ 7 minutes!Steps To Reproduce:
git clone git@github.com:jpscharf/tailwind-mix-example.git
composer install
andnpm install
npm run dev
JeffreyWay/laravel-mix#1966