mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Remove cruft from webpack
This commit is contained in:
parent
0335370cfb
commit
7d5ca84501
@ -113,36 +113,5 @@ module.exports = {
|
|||||||
maxChunks: 1, // Must be greater than or equal to one
|
maxChunks: 1, // Must be greater than or equal to one
|
||||||
minChunkSize: 999999999
|
minChunkSize: 999999999
|
||||||
})
|
})
|
||||||
],
|
]
|
||||||
/*
|
|
||||||
optimization: {
|
|
||||||
splitChunks: {
|
|
||||||
chunks (chunk) {
|
|
||||||
// exclude `my-excluded-chunk`
|
|
||||||
return false;
|
|
||||||
},
|
|
||||||
minSize: 999999999,
|
|
||||||
minChunks: 1,
|
|
||||||
name: true,
|
|
||||||
cacheGroups: {
|
|
||||||
vendors: {
|
|
||||||
test: /[\\/]node_modules[\\/]/,
|
|
||||||
priority: -10
|
|
||||||
},
|
|
||||||
default: {
|
|
||||||
minChunks: 2,
|
|
||||||
priority: -20,
|
|
||||||
reuseExistingChunk: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
*/
|
|
||||||
devServer: {
|
|
||||||
contentBase: path.join(__dirname, 'dist'),
|
|
||||||
compress: true,
|
|
||||||
port: 8080,
|
|
||||||
disableHostCheck: true,
|
|
||||||
host: '0.0.0.0'
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user