-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import.meta.url Support #208
Comments
I was under the impression that |
Nope, Webpack is is at an unfortunate disadvantage due to their heavy reliance on faux modules and magical kitchen sink builds. Bundlers that more-or-less respect the structure of the original source can pass it through as-is. |
This should be working now as of version 0.5.17. |
I have a Monaco Editor web component that needs URLs provided so it knows where to side-load the language-server-protocol service workers from
For context, this is an ESM -> ESM transform with the following command
Here's the original source
Which gets transformed to
Note: RollupJS can bundle the same code without issue because it doesn't transform
import.meta.url
BTW, tc39/proposal-import-meta is officially Stage 4
The text was updated successfully, but these errors were encountered: