oblador / react-native-esbuild

Fast bundler and dev server for react-native using esbuild
MIT License
595 stars 11 forks source link

Is it different from what Microsoft makes? #32

Closed ko-devHong closed 1 year ago

ko-devHong commented 1 year ago

Currently, Microsoft also seems to be offering a bundled library through esbuild. Is it the same thing that you are currently developing?

oblador commented 1 year ago

Not really, they are just using esbuild to minify which makes it slightly faster, but are still relying on metro and babel for bundling and transpilation.

ko-devHong commented 1 year ago

@oblador In fact, when I looked at their code, it was shown that it was not used for development, but could only be used in production mode. In production mode, it was seen as replacing serializer with esbuild, but isn't this replacing everything?

Does your module support split import when importing a Lodash library? Solution if you don't apply?

ko-devHong commented 1 year ago

@oblador Can you write about my question ??

oblador commented 1 year ago

It supports tree shaking as stated in the readme.