Skip to content

Commit e108786

Browse files
committed
build: add back production build flag
So we compile packages in partial ivyMode instead of full as in development confirmation
1 parent 01c4697 commit e108786

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.0.0",
44
"scripts": {
55
"build": "ng build",
6-
"build:app": "ng build --baseHref=/ngx-page-scroll/",
7-
"build:lib": "ng build ngx-page-scroll-core && ng build ngx-page-scroll && npm run copy:readme",
6+
"build:app": "ng build --configuration production --baseHref=/ngx-page-scroll/",
7+
"build:lib": "ng build ngx-page-scroll-core --configuration production && ng build ngx-page-scroll --configuration production && npm run copy:readme",
88
"copy:readme": "copyfiles README.md dist/ngx-page-scroll && copyfiles README.md dist/ngx-page-scroll-core",
99
"commit": "git-cz",
1010
"e2e": "ng e2e",

0 commit comments

Comments
 (0)