esbuild icon indicating copy to clipboard operation
esbuild copied to clipboard

options ignore import.meta

Open nicksrandall opened this issue 3 months ago • 1 comments

The platform I'm compiling for supports import.meta directly and I'd like to keep it as is in my bundle. Could we make it possible to keep import.meta statements as is when compiling?

nicksrandall avatar Sep 11 '25 18:09 nicksrandall

You can use --supported:import-meta=true.

hyrious avatar Sep 11 '25 20:09 hyrious