Alter PurgeCSS configuration, build command

This commit is contained in:
Oliver Davies 2019-11-12 20:39:32 +00:00
parent 8496339ccb
commit b5aeb110d3
2 changed files with 3 additions and 4 deletions

View file

@ -1,10 +1,9 @@
[build]
command = """
composer test && \
composer build && \
npm run lint --fix-dry-run && \
npm run production && \
cp -R source/build output_prod
composer production
"""
publish = "output_prod"
environment = { PHP_VERSION = "7.2" }

View file

@ -20,8 +20,8 @@ mix.browserSync({
})
mix.purgeCss({
extensions: ['html', 'twig', 'vue'],
folders: ['assets/js', 'output_*'],
extensions: ['html', 'md', 'twig', 'vue'],
folders: ['assets/js', 'source'],
whitelistPatterns: [],
whitelistPatternsChildren: []
})