Replacement of ChunksWebpackPlugin? #21163
tyteen4a03
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Specifically, https://github.com/yoriiis/chunks-webpack-plugin
We have a large MPA, with some parts still built on JSP and other parts having migrated to react-router. Additionally, we have a lot of React islands of individual React
createRoots()that are loaded into the JSPs. I would like to explore using Framework mode down the line, and thus need to migrate to Vite. However, there doesn't seem to be an equivalent of the ChunksWebpackPlugin where I can specify multiple entrypoints, and it would generate template files of the<script>tags needed to load in the entrypoints that I can include in my JSP pages.Is there something similar in the Vite ecosystem?
Beta Was this translation helpful? Give feedback.
All reactions