You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note for now we have to pre-transform import.meta.url because native ESM loader support is still experimental and we have to pre-bundle TS config files when using native ESM.
This maybe can be improved to use native loaders once it becomes stable in Node.
Describe the bug
Based on NodeJS doc or Mozzila doc the import.meta.url should return URL of the module.
Actually the import.meta is equal to this:
Reproduction
vite
orvite build
System Info
vite
version: vite/2.0.0-beta.26 linux-x64 node-v14.13.0The text was updated successfully, but these errors were encountered: