wix / react-native-ui-lib

UI Components Library for React Native
https://wix.github.io/react-native-ui-lib/
MIT License
6.44k stars 706 forks source link

Support esbuild #2656

Closed MrSquaare closed 11 months ago

MrSquaare commented 1 year ago

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

  1. Create a new TypeScript React Native project
  2. Setup rnx-kit bundling system
  3. Install and use react-native-ui-lib

Expected behavior

Build

Actual behavior

Don't build

More Info

Code snippet

Screenshots/Video

Environment

Affected platforms

stale[bot] commented 12 months ago

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.