diff --git a/src/lib/runWebpack.ts b/src/lib/runWebpack.ts index a45ff39..253607f 100644 --- a/src/lib/runWebpack.ts +++ b/src/lib/runWebpack.ts @@ -139,6 +139,9 @@ export async function runWebpack({ }, plugins: [ virtualModules, + new webpack.optimize.LimitChunkCountPlugin({ + maxChunks: 1, + }), ] }, )