sndyuk/mangle-css-class-webpack-plugin

Not stable

IRediTOTO opened this issue · 2 comments

Hi, when I run build on local, everything is fine but when it run on Heroku some CSS lost, that make layout broken...
It run ok for some months but I just changed some code. I can't find where did I wrong, because so many file I changed.

oh it come from @fullhuman/postcss-purgecss

Do you have any config for purgecss?
Here is mine

[
                 "@fullhuman/postcss-purgecss",
                 {
                    content: ["./src/pages/**/*.{js,jsx,ts,tsx}", "./src/components/**/*.{js,jsx,ts,tsx}"],
                    defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [],
                 },
              ],

It is fine one local but I don't understand some css lost when deploy to server Heroku