FullHuman / postcss-purgecss

PostCSS plugin for purgecss
MIT License
91 stars 5 forks source link

Tailwind stops working after I add plugin #14

Closed thariddler closed 6 years ago

thariddler commented 6 years ago

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.

thariddler commented 6 years ago

So this was wrong path. I needed this

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

:+1: