You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it currently possible to build an application that makes use of webpack code splitting with require.ensure() to render routes and be able to do static rendering of these routes as well? If not, what is needed to make this happen and is it planned? Is there a workaround?
I saw #31 but this seems to only make sure require.ensure() can occur in compiled code at all - but using it inside the render method used by the static rendering plugin is not possible?
The text was updated successfully, but these errors were encountered:
It's possible; I'm using code splitting with react-router, i run two times webpack, the first for build the client, and the second for build all static pages. how it works? by using LimitChunkCountPlugin, webpack with node as target and libraryTarget set to commonjs-module.
Is it currently possible to build an application that makes use of webpack code splitting with
require.ensure()
to render routes and be able to do static rendering of these routes as well? If not, what is needed to make this happen and is it planned? Is there a workaround?I saw #31 but this seems to only make sure
require.ensure()
can occur in compiled code at all - but using it inside the render method used by the static rendering plugin is not possible?The text was updated successfully, but these errors were encountered: