@callstack/repack-init
is a command-line tool that helps you to set up Re.Pack in your React Native project. It installs all required dependencies and configures your project to use Re.Pack.
In the root of an existing React Native project, run this command in your terminal of choice:
string
latest
Use a custom version of Re.Pack.
string
index.js
Path to the entry file of your react-native
application.
mjs
| cjs
mjs
Format of the Webpack config file. Available choices mjs
, cjs
.
boolean
false
Enable verbose output.
Show version number.