From 6f264ecac963a06f66b718a1f57cac3410e8ec85 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 18 Sep 2018 09:13:35 +0200 Subject: [PATCH] docs: remove `--prod` as it's no longer needed Closes #12290 --- docs/documentation/stories/create-library.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/documentation/stories/create-library.md b/docs/documentation/stories/create-library.md index 8ccf97421c49..529cfb8becfc 100644 --- a/docs/documentation/stories/create-library.md +++ b/docs/documentation/stories/create-library.md @@ -62,7 +62,7 @@ If this happens just rebuild your library. To publish your library follow these steps: ``` -ng build my-lib --prod +ng build my-lib cd dist/my-lib npm publish ``` @@ -71,9 +71,6 @@ If you've never published a package in npm before, you will need to create a use You can read more about publishing on npm here: https://docs.npmjs.com/getting-started/publishing-npm-packages -The `--prod` flag should be used when building to publish because it will completely clean the build -directory for the library beforehand, removing old code leftover code from previous versions. - ## Why do I need to build the library everytime I make changes?