Skip to content
Discussion options

You must be logged in to vote

Ultimately, I'd like to be able to load extensions dynamically.

What do you mean by dynamically? if you mean being able to load them at any moment, that's already doable by importing the package dynamically whenever you want

And I'm not sure what you mean about the new URL() syntax. Are you seeing something I'm not?

You are doing new URL(importPath, import.meta.url).toString() (l105), how do you expect vite to be able to add that assets to the final bundle? it needs a literal path.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Sammy-T
Comment options

Comment options

You must be logged in to vote
1 reply
@Sammy-T
Comment options

Answer selected by Sammy-T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants