Closed miloskroulik closed 3 years ago
The JIT compiler is activated in your postcss config. https://tailwindcss.com/docs/just-in-time-mode
You can disable the jit compiler in the postcss config.
Sorry, I didn't realize it causes this behaviour. Thanks
According to Tailwind CSS documentation, purging should be disabled, when the
NODE_ENV
environment variable isn't set to production.Source: https://tailwindcss.com/docs/optimizing-for-production#basic-usage
However, when I'm developing my site using
yarn dev:drupal
it still seems to be applied (when I add class to my twig file, I can see it being added to generatedtokens.css
file), even thoughNODE_ENV
is set todevelopment
. How can I disable it during development?