|
|
|
@ -66,17 +66,13 @@ module.exports = (env) => {
|
|
|
|
|
output: {
|
|
|
|
|
path: distFolder,
|
|
|
|
|
publicPath: '/',
|
|
|
|
|
filename: '[name].js',
|
|
|
|
|
filename: '[name]-[contenthash].js',
|
|
|
|
|
sourceMapFilename: '[file].map'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
optimization: {
|
|
|
|
|
moduleIds: 'deterministic',
|
|
|
|
|
chunkIds: 'named',
|
|
|
|
|
splitChunks: {
|
|
|
|
|
chunks: 'initial',
|
|
|
|
|
name: 'vendors'
|
|
|
|
|
}
|
|
|
|
|
chunkIds: isProduction ? 'deterministic' : 'named'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
performance: {
|
|
|
|
@ -237,6 +233,7 @@ module.exports = (env) => {
|
|
|
|
|
{
|
|
|
|
|
loader: 'url-loader',
|
|
|
|
|
options: {
|
|
|
|
|
limit: 10240,
|
|
|
|
|
mimetype: 'application/font-woff',
|
|
|
|
|
emitFile: false,
|
|
|
|
|
name: 'Content/Fonts/[name].[ext]'
|
|
|
|
|