Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit e0a401c

Browse files
authored
fix(@nguniversal/common): update helper scripts use production by default
1 parent c59b4ed commit e0a401c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/common/schematics/add/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function addScriptsRule(options: AddUniversalOptions): Rule {
7272
...pkg.scripts,
7373
'dev:ssr': `ng run ${options.clientProject}:${SERVE_SSR_TARGET_NAME}`,
7474
'serve:ssr': `node ${serverDist}/main.js`,
75-
'build:ssr': `ng build --prod && ng run ${options.clientProject}:server:production`,
75+
'build:ssr': `ng build && ng run ${options.clientProject}:server`,
7676
'prerender': `ng run ${options.clientProject}:${PRERENDER_TARGET_NAME}`,
7777
};
7878

0 commit comments

Comments
 (0)