FullHuman / postcss-purgecss

PostCSS plugin for purgecss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tailwind stops working after I add plugin

thariddler opened this issue · comments

Hello. I have settings

module.exports = {
  plugins: [
    tailwindcss('./tailwind.js'),
    require('autoprefixer')(),
    purgecss({
      content: [
        './src/components/**/*.vue',
        './src/pages/**/*.vue'
      ]
    })
  ]
}

After I add purgecss Tailwind stops working. Using Vue.js webpack starter.

So this was wrong path. I needed this

'./src/**/*.html',
 './src/**/*.vue'

👍