wix / react-native-ui-lib

UI Components Library for React Native

Home Page:https://wix.github.io/react-native-ui-lib/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support esbuild

MrSquaare opened this issue · comments

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

  • Components
  • Demo
  • Docs
  • Typings

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

  • React Native version: 0.71.8
  • React Native UI Lib version: 7.5.2

Affected platforms

  • Android
  • iOS
  • Web

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.