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
I'm bundling with format CJS for Bun, which supports both esm and cjs Top level await in the same file.
But due to esbuild having a non-configurable error on using TLAs when format cjs is enabled, it's not currently possible to make use of Bun's TLA features.
I request the addition of a configuration option such as ignoreUnsupportedTLA which will allow users to manually pass through TLAs that would normally be blocked with cjs.
The text was updated successfully, but these errors were encountered:
I seem to be able to reproduce this too, but I could've sworn I saw Bun do this in a previous version.
Anyway, I should've tested it first, thank you for taking a look!
I'm bundling with format CJS for Bun, which supports both esm and cjs Top level await in the same file.
But due to esbuild having a non-configurable error on using TLAs when format
cjs
is enabled, it's not currently possible to make use of Bun's TLA features.I request the addition of a configuration option such as
ignoreUnsupportedTLA
which will allow users to manually pass through TLAs that would normally be blocked with cjs.The text was updated successfully, but these errors were encountered: