Fix CSS purification paths

This only seemed to cause issues when building inside of Docker.
This commit is contained in:
Matt Isenhower 2017-08-15 17:11:38 -07:00
parent 20981f8a65
commit 102cf4ef4d

View File

@ -83,8 +83,8 @@ module.exports = function(env) {
// Remove unused CSS styles
new PurifyCSSPlugin({
paths: [
...glob.sync(path.join(__dirname, 'src/html/*.html')),
...glob.sync(path.join(__dirname, 'src/js/components/*.vue')),
...glob.sync(path.join(__dirname, 'src/html/**/*.html')),
...glob.sync(path.join(__dirname, 'src/js/components/**/*.vue')),
],
minimize: production,
purifyOptions: {