webpack optimization — A Case Study
Joel Chen
502

Would this extra code not have been optimized away if you used the DefinePlugin to hardcode the result of canUseDom as a global?

Like what you read? Give Wout Mertens a round of applause.

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