Merge pull request #3000 from rickbolton/dev

Update purgecss example - Include components for finding used classes
This commit is contained in:
Clark Du 2018-03-13 18:37:10 +08:00 committed by GitHub
commit a4444ca70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,8 @@ module.exports = {
// https://github.com/FullHuman/purgecss // https://github.com/FullHuman/purgecss
paths: glob.sync([ paths: glob.sync([
path.join(__dirname, './pages/**/*.vue'), path.join(__dirname, './pages/**/*.vue'),
path.join(__dirname, './layouts/**/*.vue') path.join(__dirname, './layouts/**/*.vue'),
path.join(__dirname, './components/**/*.vue')
]), ]),
extractors: [ extractors: [
{ {