1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Fixed error where uglify did not export any files

This commit is contained in:
dlord
2015-01-30 15:00:02 -05:00
parent 81e87d54f8
commit a367d5ba3f

View File

@@ -115,9 +115,12 @@ module.exports = function(grunt) {
// uglify: Minify (javascript)files with UglifyJS
uglify: {
target: {
files: {
'assets/scripts/dist/': ['assets/scripts/dist/*.js']
}
files: [{
expand: true,
cwd: 'assets/scripts/dist/',
src: '**/*.js',
dest: 'assets/scripts/dist/'
}]
}
},
@@ -211,7 +214,7 @@ module.exports = function(grunt) {
'charcoal/modules/**/code/**/*.php'
]
}
});
// Load tasks