From 966475886df5ac9ee4ab64489e81a6a80b2f7752 Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Thu, 3 Aug 2017 12:29:35 -0700 Subject: [PATCH] Disable clean webpack plugin for now to make deployments easier Right now I'm just building the content directly in the public directory, so this reduces the time that visitors would get 404 errors when building a new version. --- webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index e5a1fb2..0fc0d07 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -66,10 +66,10 @@ module.exports = function(env) { }, plugins: [ // Remove old files - new CleanWebpackPlugin([ - 'public/assets/css/*', - 'public/assets/js/*', - ]), + // new CleanWebpackPlugin([ + // 'public/assets/css/*', + // 'public/assets/js/*', + // ]), // Extract CSS to a separate file new ExtractTextPlugin('assets/css/[name].[contenthash].css'), // Remove unused CSS styles