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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user