-
Does anyone know of a way to build only one chunk and ignore all the imports in the project? And at the same time instead of using client.js use client.standalone.js? I am trying to create two separate build proceses one for web and for our iOS app |
Beta Was this translation helpful? Give feedback.
Answered by
nesbtesh
Mar 5, 2021
Replies: 1 comment
-
This was my solution new webpack.optimize.LimitChunkCountPlugin({ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fivethreeo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was my solution
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: process.env.BUILDFOR === "standalone" ? 1 : 20,
}),