Øyvind Saltvik
Øyvind Saltvik
Code splitting has changed alot since this example was made. So it is out of date.
https://webpack.js.org/plugins/split-chunks-plugin/
https://webpack.js.org/plugins/split-chunks-plugin/#split-chunks-example-3
https://github.com/vercel/next.js/blob/canary/packages/next/build/webpack-config.ts#L585
Moving here https://github.com/elzzad/dazzle
@dtabuenc is helping out once babel loader is in help wanted on more plugins and docs
Same purpose as razzle, not ready yet so stability unknown. Porting plugins from the alpha branch of razzle. Porting plugins from master branch of razzle. Making parts of razzle default...
Start here https://github.com/elzzad/dazzle/blob/feature/razzle-migration/packages/dazzle-babel-loader/src/loader/get-config.ts
@dtabuenc is working on babel over the weekend
Join us on discord https://discord.gg/tK9ZgcwwKv