lottie-reactxp icon indicating copy to clipboard operation
lottie-reactxp copied to clipboard

publish a transpiled RN version

Open colmbrady opened this issue 7 years ago • 1 comments

Seeing as ReactXP is targetting browser and native, I think it makes sense to ship transpiled module on native also.

https://github.com/facebook/react-native/issues/7850 https://stackoverflow.com/questions/37277215/transpile-react-native-module-to-es5-before-publishing-to-npm

Need to figure out whether this has implications on an upgrade path. I dont believe it does.

colmbrady avatar Feb 16 '18 19:02 colmbrady

https://github.com/facebook/react-native/issues/7850 https://github.com/facebook/react-native/issues/10966

It seems the general wisdom is that only transpiled modules should be published, however there is some issues with React Native packager which may mean that source maps dont get applied. Here is more info:

https://gist.github.com/ide/e7b9181984933ebb0755c7367a32e7e8

colmbrady avatar Mar 05 '18 09:03 colmbrady