Skip to content

Commit

Permalink
Use uglify-es
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow authored Nov 3, 2020
1 parent b77c853 commit 3baceea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install uglify-js @babel/core @babel/cli @babel/preset-env
- run: npx babel fullscreen-card.js --out-file fullscreen-card.js --presets @babel/preset-env
- run: npx uglify-js fullscreen-card.js -b beautify=false,max_line_len=150 --compress --mangle toplevel --output fullscreen-card.js
- run: npm install uglify-es
- run: npx uglify-es fullscreen-card.js -b beautify=false,max_line_len=150 --compress --mangle toplevel --output fullscreen-card.js
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 3baceea

Please sign in to comment.