Straightforward code splitting with React and webpack
Didier FRANC
2.2K17

Magic trick:

// webpack.config.js
const pkg = require('package.json')
// ...
vendor: Object.keys(pkg.dependencies)
Like what you read? Give Cristina Silva a round of applause.

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