Import specific chunks from CDN #7458
Unanswered
ismoiliy98
asked this question in
Q&A
Replies: 1 comment
-
Hi @Geebrox, did you find a solution to this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I read the documentation and there is
--base
for vite build command to specify the base path for all assets. I am currently building a widget using vite. I need to load specific lazy-loaded components from CDN. Is it possible to specify the--base
option for specific chunks?For example:
app.tsx
component which lazy loads componentA
or componentB
according to some statementA
andB
are (built) located in CDNAny idea to realize this approach?
Beta Was this translation helpful? Give feedback.
All reactions