Adding the following to the tailwind.js
file will remove unused CSS code from the final CSS bundle:
module.exports = {
purge: [
'./src/**/*.html',
'./src/**/*.vue',
],
....
Is there any reason for the purge mode not being enabled?
If i did the math right, it’s a 91% CSS bundle reduction for the raw thing and 83% for the gzipped bundle.
I can open a PR if needed.