mirror of
https://github.com/leoherzog/TorrentParts.git
synced 2026-01-24 04:08:04 -08:00
Add Minified Version of Bundle
This commit is contained in:
63
bundle.min.js
vendored
Normal file
63
bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -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 || [];
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user