Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
add webpack-cli as dev dependency (#3028)
Browse files Browse the repository at this point in the history
It's needed for webpack now apparently. Without it, the user will get a message like this on first `npm run build`:
```txt
$ npm run build                                                                      
> example-browser-webpack@ build /path/to/browser-webpack                 
> webpack                                                                           
                                                                                    
One CLI for webpack must be installed. These are recommended choices, delivered as s
eparate packages:                                                                   
 - webpack-cli (https://github.com/webpack/webpack-cli)                             
   The original webpack full-featured CLI.                                          
We will use "npm" to install the CLI via "npm install -D".                          
Do you want to install 'webpack-cli' (yes/no):
```
  • Loading branch information
npfoss authored May 14, 2020
1 parent 2b24f59 commit 3e4a716
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/browser-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"react-hot-loader": "^4.8.8",
"test-ipfs-example": "^2.0.1",
"webpack": "^4.28.4",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.1.14"
},
"dependencies": {
Expand Down

0 comments on commit 3e4a716

Please sign in to comment.