Thank you! I've updated the template according to your comments. Issue with html and body was happening because index.html is in public folder. Purgecss config now checks every folder under project directory.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You just solve a whole day of headache. I could kiss you!
I had to add a few bolts to make it work fully for me:
/html/
and/body/
to thewhitelistPatterns
(purgecss remove style tohtml
orbody
for some reason)emitCss: true
to thesvelte-loader
options when using webpack (allow me to use postcss syntaxe in svelte component)Thank you! I've updated the template according to your comments. Issue with
html
andbody
was happening becauseindex.html
is inpublic
folder. Purgecss config now checks every folder under project directory.