-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Can create an example for the async case?
You can either return the raw content to load, or a Promise which resolves to the content, if you wish to be async.
Because from my understanding the loader needs always to return a string and not a Promise.
My use case is that I would like to inject a third party library that has no npm package but available through a cdn and which is required by my library. I have at the moment a homemade plugin, which injects the text inside the bundle, but I would like to find a cleaner alternative...
Thank you in advance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels