Commit 9b0d730 1 parent 8efd4ca commit 9b0d730 Copy full SHA for 9b0d730
File tree 1 file changed +2
-2
lines changed
packages/angular/build/src/builders/application
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export async function executePostBundleSteps(
66
66
const {
67
67
baseHref = '/' ,
68
68
serviceWorker,
69
- i18nOptions ,
69
+ ssrOptions ,
70
70
indexHtmlOptions,
71
71
optimizationOptions,
72
72
sourcemapOptions,
@@ -113,7 +113,7 @@ export async function executePostBundleSteps(
113
113
114
114
// Create server manifest
115
115
const initialFilesPaths = new Set ( initialFiles . keys ( ) ) ;
116
- if ( serverEntryPoint ) {
116
+ if ( serverEntryPoint && ( outputMode || prerenderOptions || appShellOptions || ssrOptions ) ) {
117
117
const { manifestContent, serverAssetsChunks } = generateAngularServerAppManifest (
118
118
additionalHtmlOutputFiles ,
119
119
outputFiles ,
You can’t perform that action at this time.
0 commit comments