Skip to content

Commit 1ba8842

Browse files
authored
Merge pull request #142 from cloudnc/chore/fix-publishing-using-view-engine
2 parents 1d50bcd + 6bfe25e commit 1ba8842

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ script:
3333
- yarn run readme:check
3434
- yarn run lib:test:ci
3535
# build
36-
- yarn run lib:build:prod
36+
- yarn run lib:build:prod:view-engine
3737
- yarn run demo:build:prod --progress=false --base-href "https://cloudnc.github.io/ngx-sub-form/"
3838
# e2e tests
3939
- sed -i 's/<base href="https:\/\/cloudnc.github.io\/ngx-sub-form\/">/<base href="\/">/g' dist/ngx-sub-form-demo/index.html

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
"demo:lint:check": "yarn run ng lint",
2121
"demo:lint:fix": "yarn run demo:lint:check --fix",
2222
"------------------ LIB ngx-sub-form ------------------": "",
23-
"lib:build:prod": "yarn run ng build --project ngx-sub-form",
24-
"lib:build:watch": "yarn run lib:build:prod --watch",
23+
"lib:build:prod:ivy": "yarn run ng build --project ngx-sub-form",
24+
"lib:build:prod:view-engine": "yarn run lib:build:prod:ivy --prod",
25+
"lib:build:watch": "yarn run lib:build:prod:view-engine --watch",
2526
"lib:test:watch": "yarn run ng test --project ngx-sub-form",
2627
"lib:test:ci": "yarn run ng test --project ngx-sub-form --watch false --browsers=ChromeHeadless",
2728
"------------------ Quick Commands ------------------": "",

0 commit comments

Comments
 (0)