You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
Hi @DJAlejandro, for more information about configuring PostCSS PurgeCSS to work with Vue single file components, take a look at this blog post.
The article is about Nuxt specifically, but it applies to Vue in general. The issue is that PurgeCSS default extractors detect and preserve all styles defined in the <style> block. Excluding those blocks from selector extraction should achieve the outcome you're looking for.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want CSS tree shaking.
Without using VUE it works well by using purgecss-webpack-plugin.
But i want VUE supporting CSS tree shaking,so I choose postcss-purgecss.But STILL DON'T WORK
here is my postcss.config.js
The text was updated successfully, but these errors were encountered: