I have an application with next.js, I would like to make a code spliting to reduce my bundle and so that the pages are loaded on demand.
However I didn't find a way to do this seeing that I don't care my routes. As an example using react-router, where we can use dynamic imports on routes.
Does anyone know a solution for this?