diff --git a/aio/content/guide/app-shell.md b/aio/content/guide/app-shell.md index 8804980873..82fef8ac23 100644 --- a/aio/content/guide/app-shell.md +++ b/aio/content/guide/app-shell.md @@ -32,9 +32,22 @@ After running this command you will notice that the `angular.json` configuration "server": { "builder": "@angular-devkit/build-angular:server", "options": { - "outputPath": "dist/my-app-server", + "outputPath": "dist/my-app/server", "main": "src/main.server.ts", "tsConfig": "tsconfig.server.json" + }, + "configurations": { + "production": { + "outputHashing": "media", + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "sourceMap": false, + "optimization": true + } } }, "app-shell": { @@ -67,6 +80,4 @@ Or to use the production configuration. ng run my-app:app-shell:production -To verify the build output, open `dist/my-app/index.html`. Look for default text `app-shell works!` to show that the app shell route was rendered as part of the output. - - +To verify the build output, open `dist/my-app/browser/index.html`. Look for default text `app-shell works!` to show that the app shell route was rendered as part of the output.