Different location to fetch chunks #4656
-
Hi there, I am trying to convert a vite project to modern js. In vite we can configure the app to fetch js chunks from a url e.g https://domain/js/chunk/212312.js rather than from the root / any idea how to do that in Modern js? thanks |
Beta Was this translation helpful? Give feedback.
Answered by
chenjiahan
Sep 15, 2023
Replies: 1 comment
-
You can use the
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AsuraKev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
assetPrefix
config.