|
|
@@ -28,7 +28,8 @@ module.exports = function(grunt) {
|
|
|
expand: true,
|
|
|
cwd: 'src/locale',
|
|
|
src: '**/*.js',
|
|
|
- dest: 'dist/locale'
|
|
|
+ dest: 'dist/locale',
|
|
|
+ ext: '.min.js' // replace .js to .min.js
|
|
|
}]
|
|
|
}
|
|
|
},
|
|
|
@@ -49,4 +50,4 @@ module.exports = function(grunt) {
|
|
|
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
|
|
|
|
|
grunt.registerTask('default', ['clean', 'uglify', 'cssmin']);
|
|
|
-};
|
|
|
+};
|