diff --git a/aio/content/guide/aot-compiler.md b/aio/content/guide/aot-compiler.md index b48baf59b6..a5ddc8315f 100644 --- a/aio/content/guide/aot-compiler.md +++ b/aio/content/guide/aot-compiler.md @@ -528,6 +528,11 @@ Compiling with AOT presupposes certain supporting files, most of them discussed Extend the `scripts` section of the `package.json` with these npm scripts: + + "build:aot": "ngc -p tsconfig-aot.json && rollup -c rollup-config.js", + "serve:aot": "lite-server -c bs-config.aot.json", + + Copy the AOT distribution files into the `/aot` folder with the node script: