Add Minified Version of Bundle

This commit is contained in:
Leo Herzog
2020-08-19 22:16:24 -04:00
parent 2e059e76b1
commit 286c43fe9d
4 changed files with 5696 additions and 5634 deletions

11258
bundle.js

File diff suppressed because it is too large Load Diff

63
bundle.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -105,7 +105,7 @@
</div>
<script src="bundle.js"></script>
<script src="bundle.min.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-172544485-1"></script>
<script>
window.dataLayer = window.dataLayer || [];

View File

@@ -14,8 +14,15 @@
"webtorrent": "latest"
},
"devDependencies": {
"terser": "latest",
"watchify": "latest"
},
"scripts": {
"watch": "watchify parse.js -o bundle.js",
"compile": "browserify parse.js -o bundle.js",
"minify": "terser bundle.js -c -m -o bundle.min.js",
"build": "npm run compile && npm run minify"
},
"repository": {
"type": "git",
"url": "https://github.com/leoherzog/TorrentParts.git"