ESModules url imports are only supported in the experimental ESModule preset. #6758
Unanswered
leo-petrucci
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Would be interested in the answer as well, I can see the line in question in the client code https://github.com/codesandbox/codesandbox-client/blob/master/packages/sandpack-core/src/manager.ts#L777 but can't find where to define that preset. |
Beta Was this translation helpful? Give feedback.
1 reply
-
See also #6449 |
Beta Was this translation helpful? Give feedback.
0 replies
-
So you must be enable a preset which does not seems to be available. How curious. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to
require
a file from a URL and I get this error back.How do I access this experimental ESModule preset?
Example Codesandbox: https://rctzc6.csb.app/
Beta Was this translation helpful? Give feedback.
All reactions