Build both application & libraries to allow dynamic imports #15587
Unanswered
Lonli-Lokli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to build both React app and also build some jsx files as separate files in order to load them dynamically
Is it possible with single config file?
Basically
shell.tsx
So UI requests component to load and then lazy loading it. The problem is that s it's dynamic it will not be included and/or loaded.
What I want to do is to produce usual app and also some manual chunks, place them based on all '/components/*.jsx' and place them in output. Is it possible with single file? To allow same vendor splitting between these chunks and app
Beta Was this translation helpful? Give feedback.
All reactions