Skip to content

yoution/rn-pack

Repository files navigation

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

About

react-native packager using webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published