Setup formatting

This commit is contained in:
schmelczerandras 2020-10-07 16:40:21 +02:00
parent d34f25295c
commit dd850d11d1
45 changed files with 230 additions and 190 deletions

View file

@ -28,7 +28,7 @@ module.exports = (env, argv) => ({
host: '0.0.0.0',
disableHostCheck: true,
watchOptions: {
poll: true
poll: true,
},
},
optimization: {
@ -39,7 +39,7 @@ module.exports = (env, argv) => ({
test: /\.js$/,
terserOptions: {
keep_classnames: true,
}
},
}),
new OptimizeCSSAssetsPlugin({}),
],
@ -55,7 +55,7 @@ module.exports = (env, argv) => ({
removeRedundantAttributes: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
useShortDoctype: true
useShortDoctype: true,
},
inlineSource: '.(js|css)$',
}),
@ -108,7 +108,7 @@ module.exports = (env, argv) => ({
options: {
loader: 'ts',
target: 'es2015',
}
},
},
],
},