Skip to content

Commit

Permalink
Add terserrc file and enable minification again. Fixes #94
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 17, 2018
1 parent 2b8241f commit 503c8b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .terserrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"keep_classnames": true,
"keep_fnames": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"clean": "rm -rf dist && rm -rf .cache && rm -rf build",
"build": "tsc && rollup -c",
"prepublishOnly": "npm run build",
"build:demos": "parcel build --public-url '/falcon/' flights/index.html flights-mapd/index.html weather/index.html --detailed-report --no-minify",
"build:demos": "parcel build --public-url '/falcon/' flights/index.html flights-mapd/index.html weather/index.html --detailed-report",
"deploy:demos": "npm run clean && npm run build:demos && gh-pages -d dist",
"test": "jest"
},
Expand Down

0 comments on commit 503c8b7

Please sign in to comment.