Skip to content

Commit

Permalink
changed minification to preserve conditional comments (IE), and docum…
Browse files Browse the repository at this point in the history
…ent/closing tags.
  • Loading branch information
aricart committed Mar 8, 2018
1 parent d95d0ab commit 41eeeef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ install:

script:
- gulp build
- ./tools/minify -r -o public/ -a public/
- ./tools/minify --html-keep-conditional-comments --html-keep-document-tags --html-keep-end-tags -r -o public/ -a public/
- if [[ "$TRAVIS_TAG" != "" ]]; then mv ./public site_$TRAVIS_TAG; fi
- if [[ "$TRAVIS_TAG" != "" ]]; then zip site_$TRAVIS_TAG.zip -r site_$TRAVIS_TAG; fi

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ setup:
build:
gulp build

minify:
minify --html-keep-conditional-comments --html-keep-document-tags --html-keep-end-tags -r -o public/ -a public/

clean:
gulp clean

Expand Down

0 comments on commit 41eeeef

Please sign in to comment.