How to purge correctly the css generated by nightwind ?
dotdiego opened this issue · 3 comments
dotdiego commented
Hello,
I'm using Tailwind 3.0
How can i remove unused css using nightwind ?
I'm getting a 650 kB output file with a 3 kB input file.
current tailwind.config.js looks like this
Cleaning of unused css is not happening when i use nightwind plugin, but it happens correctly when i remove it.
module.exports = {
content: [
'./**/*.{html,razor}'
],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {}
},
variants: {
extend: {}
},
plugins: [require("nightwind")]
}
jjranalli commented
This is due to a known issue caused by JIT #14. Future versions of the package will fix this
LeMatosDeFuk commented
@jjranalli Hi, when can we expect next version with this fix?