jemise111 / react-native-swipe-list-view

A React Native ListView component with rows that swipe open and closed
https://www.npmjs.com/package/react-native-swipe-list-view
MIT License
2.79k stars 527 forks source link

Build files before publishing #514

Open miguelsm opened 4 years ago

miguelsm commented 4 years ago

This is useful when using the library in targets such as web. Compiling the files before publishing allows the library to be used out of the box, without requiring extra configuration from users to build it manually with e.g. babel, webpack, etc. In my case I'm using the library in a ClojureScript project with Shadow CLJS and I'm having to compile the JSX manually using babel.

jemise111 commented 4 years ago

Hey @miguelsm I appreciate the PR. I'm not that familiar with using bob and prebuilding. I need to do some more reading and testing before I merge. Hope to get to it soon though, thanks!