Silence webpack asset size warnings
This commit is contained in:
parent
c4aefb05b5
commit
ee82416720
|
@ -8,6 +8,10 @@ module.exports = {
|
||||||
// target a web platform.
|
// target a web platform.
|
||||||
target: 'web',
|
target: 'web',
|
||||||
entry: { app: './app/index.js' },
|
entry: { app: './app/index.js' },
|
||||||
|
performance: {
|
||||||
|
maxAssetSize: 1.5 * 1024 * 1024,
|
||||||
|
maxEntrypointSize: 1.5 * 1024 * 1024
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: './app/index.html'
|
template: './app/index.html'
|
||||||
|
|
Loading…
Reference in New Issue