From 102cf4ef4d21e4df0335bdc4af102755e88dfeb7 Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Tue, 15 Aug 2017 17:11:38 -0700 Subject: [PATCH] Fix CSS purification paths This only seemed to cause issues when building inside of Docker. --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 43c8077..d75cc98 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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: {