Closed beyerleinf closed 2 years ago
__dirname and __filename are not available in ESM and esbuild has no built in way to replace references to it.
__dirname
__filename
This feature should add a plugin inserts a shim into the top of every output file.
__dirname
and__filename
are not available in ESM and esbuild has no built in way to replace references to it.This feature should add a plugin inserts a shim into the top of every output file.