Replies: 1 comment
-
@zero41120 Did you ever come up with a solution to this? Facing similar issue. |
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
-
I'm facing a challenge with dynamically importing modules in a nested web application structure using Vite and looking for guidance or suggestions.
Context:
Approach:
I change the
vite.config.ts
to useES
format. Then I attempted dynamic import using the ES module syntax like soThe dynamic imports are referenced in the
manifest.json
.Issue:
https://{cdn-domain}/asset/{version-hash}/index.{hash}.js
.https://{customer-facing-domain}/{product-of-my-team}
.https://{customer-facing-domain}/index.{hash}.js
)Question:
How can I configure Vite or modify our setup to correctly handle dynamic imports in this nested web application structure, ensuring that dynamically imported modules are loaded from the correct asset path managed by the "parent" website?
Beta Was this translation helpful? Give feedback.
All reactions