Skip to content

Commit

Permalink
Merge pull request #5294 from harkue:develop
Browse files Browse the repository at this point in the history
[pkg] Enable source maps for minified artefacts
  • Loading branch information
ichernev committed Apr 24, 2020
2 parents 790bb77 + 4dfe59b commit 01e9feb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ module.exports = function (grunt) {
}
},
options: {
sourceMap: true,
mangle: true,
compress: {
dead_code: false // jshint ignore:line
Expand Down
3 changes: 3 additions & 0 deletions Moment.js.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
<files>
<file src="moment.js" target="Content\Scripts" />
<file src="min/moment.min.js" target="Content\Scripts" />
<file src="min/moment.min.js.map" target="Content\Scripts" />
<file src="min/moment-with-locales.js" target="Content\Scripts" />
<file src="min/moment-with-locales.js.map" target="Content\Scripts" />
<file src="min/moment-with-locales.min.js" target="Content\Scripts" />
<file src="min/moment-with-locales.min.js.map" target="Content\Scripts" />
</files>
</package>

0 comments on commit 01e9feb

Please sign in to comment.