Skip to content

Commit d978eb0

Browse files
authored
fix(common): add production config section to prerender builder config (#1382)
1 parent eb9e1b7 commit d978eb0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

modules/common/schematics/add/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,12 @@ function updateWorkspaceConfigRule(options: AddUniversalOptions): Rule {
118118
browserTarget: `${projectName}:build:production`,
119119
serverTarget: `${projectName}:server:production`,
120120
routes: []
121-
}
121+
},
122+
// Add a dummy production config to be consistent with other targets.
123+
configurations: {
124+
production: {
125+
},
126+
},
122127
});
123128
});
124129
};

0 commit comments

Comments
 (0)