[EDIT] It is something purgeCss related. Comenting purgeCss in webpack.mix.js fix the problem. Maybe purgeCss cant see inside SVG.
Hi, I’m working on this prototype:
These buttons has a SVG with a simple path:
its fill color changes regarding its class:
It works well at
yarn build and it doesn’t work at
yarn build:production. I’ve noticed that any SCSS containing
path selector is not transpiled to plain CSS when is buit to production. It Is completely removed from CSS.
Is it a bug or an expected behavior?