Skip to content

Commit

Permalink
Fix source maps, use minified JS
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincennis committed Nov 9, 2013
1 parent 82ae4e2 commit 427c0a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/config/uglify.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
options: {
banner: '<%= banner %>',
sourceMap: 'public/js/Mix.js.map',
sourceMappingURL: 'Mix.js.map',
sourceMap: 'public/js/Mix.min.map',
sourceMappingURL: 'Mix.min.map',
sourceMapPrefix: 2
},
dist: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.4",
"grunt-contrib-uglify": "~0.2.6",
"grunt-contrib-qunit": "~0.3.0",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-connect": "~0.5.0",
Expand Down
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ <h1>Mix.js</h1>
</div>
</script>

<script src="js/Mix.js"></script>
<script src="js/Mix.min.js"></script>

<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25245319-1']);
Expand Down

0 comments on commit 427c0a0

Please sign in to comment.