Dockerize

This commit is contained in:
schmelczerandras 2020-09-20 11:25:33 +02:00
parent 0048aa191e
commit d9623a3274
10 changed files with 243 additions and 137 deletions

View file

@ -23,7 +23,7 @@ module.exports = {
filename: '[name].[contenthash].js',
path: PATHS.bundles,
},
devtool: isDevelopment ? 'source-map' : '',
devtool: isDevelopment ? 'source-map' : 'null',
watchOptions: {
aggregateTimeout: 600,
ignored: /node_modules/,
@ -100,6 +100,16 @@ module.exports = {
noquotes: true,
},
},
{
test: /\.(ico|png|jpg)$/i,
use: {
loader: 'file-loader',
query: {
outputPath: '/',
name: '[name].[ext]',
},
},
},
{
test: /\.js$/,
enforce: 'pre',