Silence webpack asset size warnings

This commit is contained in:
Saúl Ibarra Corretgé 2020-06-11 11:04:51 +02:00
parent c4aefb05b5
commit ee82416720

View file

@ -8,6 +8,10 @@ module.exports = {
// target a web platform.
target: 'web',
entry: { app: './app/index.js' },
performance: {
maxAssetSize: 1.5 * 1024 * 1024,
maxEntrypointSize: 1.5 * 1024 * 1024
},
plugins: [
new HtmlWebpackPlugin({
template: './app/index.html'