Skip to content

Commit

Permalink
add source maps to js minification with uglify
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpolacek committed Sep 15, 2013
1 parent b78e29e commit d252461
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions css/libs/z.styles.concat.css
Original file line number Diff line number Diff line change
Expand Up @@ -1665,7 +1665,7 @@ ul, ol, dl {
padding: 0 0 0.75em;
}

/* line 91, ../sass/01._typography.scss */
/* line 96, ../sass/01._typography.scss */
p ul,
ul ul,
ol ul,
Expand All @@ -1680,7 +1680,7 @@ ul, ol, dl {
margin-left: 1.5em;
}

/* line 102, ../sass/01._typography.scss */
/* line 103, ../sass/01._typography.scss */
.list-padded ul,
.list-padded ol {
padding-top: 0.75em;
Expand Down
4 changes: 2 additions & 2 deletions css/processed/01._typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ ul, ol, dl {
padding: 0 0 0.75em;
}

/* line 91, ../sass/01._typography.scss */
/* line 96, ../sass/01._typography.scss */
p ul,
ul ul,
ol ul,
Expand All @@ -121,7 +121,7 @@ ul, ol, dl {
margin-left: 1.5em;
}

/* line 102, ../sass/01._typography.scss */
/* line 103, ../sass/01._typography.scss */
.list-padded ul,
.list-padded ol {
padding-top: 0.75em;
Expand Down
3 changes: 3 additions & 0 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ module.exports = function(grunt) {
},

uglify: {
options: {
sourceMap: function(path) { return path.replace(/.js/,".map"); }
},
dist: {
src: ['js/libs/z.scripts.concat.js'],
dest: 'js/min/scripts.min.js'
Expand Down
3 changes: 2 additions & 1 deletion js/min/scripts.min.js

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

1 change: 1 addition & 0 deletions js/min/scripts.min.map

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

0 comments on commit d252461

Please sign in to comment.