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
Would be great if the require and loader hooks from the other esbuild-kit modules were exposed from this top level one. In some scenarios I wan't to use the main tsx bin, but still the others are handy and it'd be nice if I didn't have to install other modules.
I was thinking it should be as simple as adding a exports to this module that with the import condition would expose the loader and otherwise would expose the require hook such that you could:
node -r tsx
node --loader tsx
as an example of where this is useful:
mocha -r tsx
The text was updated successfully, but these errors were encountered:
Would be great if the
require
andloader
hooks from the otheresbuild-kit
modules were exposed from this top level one. In some scenarios I wan't to use the maintsx
bin, but still the others are handy and it'd be nice if I didn't have to install other modules.I was thinking it should be as simple as adding a
exports
to this module that with theimport
condition would expose theloader
and otherwise would expose the require hook such that you could:as an example of where this is useful:
The text was updated successfully, but these errors were encountered: