-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: version conflicts when installing react-native-webpack-toolkit (#9)
- Loading branch information
Showing
8 changed files
with
2,044 additions
and
5,393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,12 +93,18 @@ Both Metro and `react-native-webpack-toolkit` have different approaches for the | |
|
||
## Installation & setup | ||
|
||
1. Install `react-native-webpack-toolkit` dependency: | ||
### Compatibility table | ||
|
||
| `webpack` | `react-native-webpack-toolkit` | | ||
| --------- | ------------------------------ | | ||
| `5.22.0` | `1.0.0` | | ||
|
||
1. Install necessary dependencies: | ||
|
||
```bash | ||
npm i -D react-native-webpack-toolkit | ||
npm i -D [email protected] terser-webpack-plugin react-native-webpack-toolkit | ||
# or | ||
yarn add -D react-native-webpack-toolkit | ||
yarn add -D [email protected] terser-webpack-plugin react-native-webpack-toolkit | ||
``` | ||
|
||
2. Create `webpack.config.js` based on the [template](./templates/webpack.config.js). | ||
|
Oops, something went wrong.