浏览代码

Update Gruntfile.js

文翼 11 年之前
父节点
当前提交
756bc46cc7
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Gruntfile.js

+ 3 - 2
Gruntfile.js

@@ -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']);
-};
+};