Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Adding build optimizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Aug 11, 2018
1 parent 50c7ac8 commit bb32aba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
before_install:
- psql -c "create user simplevote with password 'asdf'" -U postgres
- psql -c "create database simplevote with owner simplevote" -U postgres
- cd ui; npm i -g @angular/cli; yarn; ng build --prod --aot;
- cd ui; npm i -g @angular/cli; yarn; ng build --prod --aot --build-optimizer;
- cp -R dist/ ../service/src/main/resources
- cd ../service
addons:
Expand Down
2 changes: 1 addition & 1 deletion install_dev.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Building the front end
cd ui
yarn
ng build --aot
ng build --aot --build-optimizer
cp -R dist/ ../service/src/main/resources

# Building the back end
Expand Down
2 changes: 1 addition & 1 deletion install_prod.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Building the front end
cd ui
yarn
ng build --prod --aot
ng build --prod --aot --build-optimizer
cp -R dist/ ../service/src/main/resources

# Building the back end
Expand Down

0 comments on commit bb32aba

Please sign in to comment.