Closed miloskroulik closed 3 years ago
Thanks!
Well, there are further changes in purge
configuration in recent versions, so this probably won't work correctly in 2.2.x versions (see https://github.com/tailwindlabs/tailwindcss/releases#built-in-safelist-transform-and-extract-support). I will test the new version when I have a bit of time and create a new PR if needed).
According to https://blog.tailwindcss.com/tailwindcss-2-1 there will be no further development of https://github.com/tailwindlabs/tailwindcss-jit and users are encouraged to use the JIT compiler in the core.
This also requires some changes in
tailwind.config.js
file - I tried to translate current purge settings as closely as possible, but some docs changes will be probably needed (especially regarding to thesafelist.txt
file.