From 6bfe25e6dd35cc8db5e708a0e42bde1ce5f7d9ec Mon Sep 17 00:00:00 2001 From: Maxime Robert Date: Wed, 19 Feb 2020 18:19:29 +0000 Subject: [PATCH] chore: fix publishing of lib using view engine --- .travis.yml | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 72f66bf8..778dd2ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ script: - yarn run readme:check - yarn run lib:test:ci # build - - yarn run lib:build:prod + - yarn run lib:build:prod:view-engine - yarn run demo:build:prod --progress=false --base-href "https://cloudnc.github.io/ngx-sub-form/" # e2e tests - sed -i 's///g' dist/ngx-sub-form-demo/index.html diff --git a/package.json b/package.json index b9d156fa..c88a83b7 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,9 @@ "demo:lint:check": "yarn run ng lint", "demo:lint:fix": "yarn run demo:lint:check --fix", "------------------ LIB ngx-sub-form ------------------": "", - "lib:build:prod": "yarn run ng build --project ngx-sub-form", - "lib:build:watch": "yarn run lib:build:prod --watch", + "lib:build:prod:ivy": "yarn run ng build --project ngx-sub-form", + "lib:build:prod:view-engine": "yarn run lib:build:prod:ivy --prod", + "lib:build:watch": "yarn run lib:build:prod:view-engine --watch", "lib:test:watch": "yarn run ng test --project ngx-sub-form", "lib:test:ci": "yarn run ng test --project ngx-sub-form --watch false --browsers=ChromeHeadless", "------------------ Quick Commands ------------------": "",