Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 459 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 459 Bytes

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