diff --git a/webpack.config.js b/webpack.config.js index 5f01c5e..ffbdacd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/no-var-requires */ const CopyWebpackPlugin = require('copy-webpack-plugin'); const path = require('path'); +const webpack = require('webpack'); module.exports = { entry: './src/index.tsx', @@ -60,5 +61,8 @@ module.exports = { { from: 'manifest.json', to: './' }, // Copy manifest.json to static/ in the output folder ], }), + new webpack.optimize.LimitChunkCountPlugin({ + maxChunks: 1, + }), ], };