1.0.2 • Published 7 years ago

rn-pack v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

rn-pack

migrate from react-native packager to webpack

Install

npm install --save-dev rn-pack

Usage

  • modify react-native file, node_modules/react-native/Libraries/Performance/Systrace.js, comment (require: any).Systrace = Systrace code in the last line;
  • cp node_modules/rn-pack/webpack.config.js ./, custom config can add to config file;
  • run node node_modules/rn-pack/index;

Troubleshooting

Hot load should work in debug mode