Reduce bundle size

Fix export
This commit is contained in:
Paulo Gustavo Veiga 2021-02-17 11:16:39 -08:00
parent 9c9d9ed9c2
commit 50ad27ed8a
7 changed files with 16 additions and 9 deletions

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 2.0 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -11,7 +11,9 @@ module.exports = merge(common, {
minimize: true
},
plugins: [
new CompressionPlugin(),
new CompressionPlugin({
test: /\.js(\?.*)?$/i
}),
new HtmlWebpackPlugin({
template: path.join(__dirname, 'public/index.html'),
templateParameters: {