mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-03-26 09:14:15 +08:00
Add webpack-cli to getting started guide
This commit is contained in:
committed by
Nicolas Gallagher
parent
a7cda988ef
commit
8fb9a88ee6
@@ -155,7 +155,7 @@ using [Webpack](https://webpack.js.org) and [Babel](https://babeljs.io/).
|
||||
Install webpack-related dependencies, for example:
|
||||
|
||||
```
|
||||
yarn add --dev babel-loader url-loader webpack webpack-dev-server
|
||||
yarn add --dev babel-loader url-loader webpack webpack-cli webpack-dev-server
|
||||
```
|
||||
|
||||
Create a `web/webpack.config.js` file:
|
||||
|
||||
Reference in New Issue
Block a user