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

Commit 26dfdf2

Browse files
alan-agius4CaerusKaru
authored andcommitted
refactor(common): remove redundant npm run build:client-and-server-bundles script (#1264)
1 parent b64df7e commit 26dfdf2

File tree

1 file changed

+1
-3
lines changed
  • modules/common/schematics/install

1 file changed

+1
-3
lines changed

modules/common/schematics/install/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ function addScriptsRule(options: UniversalOptions): Rule {
3434
pkg.scripts = {
3535
...pkg.scripts,
3636
'serve:ssr': `node ${serverDist}/main.js`,
37-
'build:ssr': 'npm run build:client-and-server-bundles',
38-
// tslint:disable-next-line: max-line-length
39-
'build:client-and-server-bundles': `ng build --prod && ng run ${options.clientProject}:server:production`,
37+
'build:ssr': `ng build --prod && ng run ${options.clientProject}:server:production`,
4038
};
4139

4240
host.overwrite(pkgPath, JSON.stringify(pkg, null, 2));

0 commit comments

Comments
 (0)