webpack optimization — A Case Study
Joel Chen
512

This problem exists in certain third party modules as well. If you want to optimize it any further you can run a minimizer on the file as a loader, so it removes those unnecessary requires before the bundling step.

Like what you read? Give Tim a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.