Skip to content

Instantly share code, notes, and snippets.

Last active Apr 17, 2017
What would you like to do?
grunt-contrib-uglifyでsourceMapのファイル名を可変にする方法 ref:
uglify: {
options: {
sourceMap: function(name) { return name.replace(/.js/,".map");}
build: {
files: [
expand: true,
src: ['**/*.js'],
dest: '../build/',
ext: '.js',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment