Dockerize
This commit is contained in:
parent
0048aa191e
commit
d9623a3274
10 changed files with 243 additions and 137 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue