Currently, it is impossible to use esbuild as a bundler in a TypeScript project since types aren't exported with the type keyword.
Using esbuild for a React Native project (via rnx-kit) is useful to support tree-shaking.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Currently, it is impossible to use esbuild as a bundler in a TypeScript project since types aren't exported with the
type
keyword. Using esbuild for a React Native project (via rnx-kit) is useful to support tree-shaking.Related to
Steps to reproduce
react-native-ui-lib
Expected behavior
Build
Actual behavior
Don't build
More Info
Code snippet
Screenshots/Video
Environment
Affected platforms