purgecss icon indicating copy to clipboard operation
purgecss copied to clipboard

Docs don't say where to type the PurgeCSS options

Open akarelas opened this issue 4 years ago • 1 comments

Describe the bug I see the PurgeCSS options in https://purgecss.com/guides/vue.html#use-the-vue-cli-plugin but don't know which file to write them in.

akarelas avatar Nov 22 '21 06:11 akarelas

Hi @akarelas, I was looking the same today and realized that by adding the plugin the project's root folder has now a postcss.config.js with the configuration mentioned in the https://purgecss.com/guides/vue.html#use-the-vue-cli-plugin.

nosto-mikpou avatar Nov 30 '21 20:11 nosto-mikpou

Added a line to explain: The PurgeCSS plugin will generate a postcss.config.js file with PurgeCSS configured in it. You can then modify the PurgeCSS options.

Ffloriel avatar Oct 28 '23 14:10 Ffloriel