mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-09-30 13:16:41 -05:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user