]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove `--save` option from `npm i` as it isn't required anymore (#28302)
authorSteve Moser <contact@stevemoser.org>
Tue, 19 Feb 2019 10:05:54 +0000 (05:05 -0500)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 19 Feb 2019 10:05:54 +0000 (12:05 +0200)
As of npm 5.0.0, installed modules are added as a dependency by default, so the --save option is no longer needed. The other save options still exist and are listed in the documentation for npm install.

site/docs/4.3/getting-started/webpack.md

index ad4fa2f3abbd4ef3bc5f1d50b6f68d7ad82237db..14f3a6481fe0d7090072f45899da08330135ef2d 100644 (file)
@@ -28,7 +28,7 @@ import 'bootstrap/js/dist/alert';
 
 Bootstrap is dependent on [jQuery](https://jquery.com/) and [Popper](https://popper.js.org/),
 these are defined as `peerDependencies`, this means that you will have to make sure to add both of them
-to your `package.json` using `npm install --save jquery popper.js`.
+to your `package.json` using `npm install jquery popper.js`.
 
 ## Importing Styles