vue2-daterange-picker
vue2-daterange-picker copied to clipboard
CSS styles are lost in production mode
Hello! I have the following problem: in production mode css styles are not applied. In development mode everything is ok. I guess it happens because of Purgecss plugin, which we have only on production. I tried adding some daterange-picker classes to whitelistPatterns, but it didn't help.
Here is how daterange-picker looks on prod:
Here is my styles import (as described in the docs)
Here is postcss.config
Have you tried to use safelisting in the actual css/scss? Like so:
/* purgecss start ignore */
@import "~vue2-daterange-picker/dist/vue2-daterange-picker.css";
/* purgecss end ignore */