denoland / deno_emit

Transpile and bundle JavaScript and TypeScript under Deno and Deno Deploy
https://jsr.io/@deno/emit
MIT License
225 stars 23 forks source link

`import.meta`: opting out of rewriting #76

Open mfulton26 opened 2 years ago

mfulton26 commented 2 years ago

I want to be able to return a bundle that has import.meta.url statements in it and can be executed by a web browser but right now those statements get rewritten to use a hardcoded importMeta which contains values from the original, unbundled modules which I don't want.