diff --git a/docs/contents/articles/002-installation-guidelines/index.md b/docs/contents/articles/002-installation-guidelines/index.md index 6e9a7dec..736f1688 100644 --- a/docs/contents/articles/002-installation-guidelines/index.md +++ b/docs/contents/articles/002-installation-guidelines/index.md @@ -60,6 +60,16 @@ or in AOT mode npm run start:prod:aot ``` +To create a bundle in production mode, execute: + +```bash +npm run build:prod +``` +or +```bash +npm run build:prod:aot +``` + This will clear up your dist folder (where release files are located), generate a release build and start the built-in server. Now you can copy the sources from the `dist` folder and use it with any backend framework or diff --git a/package.json b/package.json index 12b9ea62..371d417e 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "e2e": "ng e2e", "clean:dist": "npm run rimraf -- dist", "clean:coverage": "npm run rimraf -- coverage", - "gh-pages": "wintersmith build -C docs && gh-pages -d docs/build", + "docs:deploy": "wintersmith build -C docs && gh-pages -d docs/build", "docs:serve": "wintersmith preview -C docs" }, "private": true,