Skip to content

Commit

Permalink
added uglify and minified dist file
Browse files Browse the repository at this point in the history
  • Loading branch information
bozdoz committed Oct 6, 2016
1 parent 043412b commit d603f07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/webgl-heatmap-leaflet.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2><a href="#usage" id="usage">Usage</a></h2>
<script src="./node_modules/leaflet/dist/leaflet-src.js"></script>
-->
<script type="text/javascript" src="./dist/webgl-heatmap.js"></script>
<script type="text/javascript" src="./dist/webgl-heatmap-leaflet.js"></script>
<script type="text/javascript" src="./dist/webgl-heatmap-leaflet.min.js"></script>

<script type="text/javascript" src="./js/script.js"></script>

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"devDependencies": {
"browsersync": "0.0.1-security",
"gulp": "^3.9.1",
"leaflet": "^1.0.1"
"leaflet": "^1.0.1",
"uglify-js": "^2.7.3"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "uglifyjs dist/webgl-heatmap-leaflet.js -c -m -o dist/webgl-heatmap-leaflet.min.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d603f07

Please sign in to comment.