guy 7 years ago
parent
commit
4e3069c951
  1. 20
      Gruntfile.js
  2. 1
      dist/bundle.min.css
  3. 46
      dist/bundle.min.js

20
Gruntfile.js

@ -240,30 +240,20 @@ module.exports = function (grunt) {
},
dist: {
files: {
'dist/core.min.js': ['<%= concat.coreJs.dest %>'],
'dist/base.min.js': ['<%= concat.baseJs.dest %>'],
'dist/case.min.js': ['<%= concat.caseJs.dest %>']
'dist/bundle.min.js': ['<%= concat.bundleJs.dest %>'],
}
}
},
cssmin: {
coreCss: {
bundleCss: {
src: '<%= concat.coreCss.dest %>',
src: '<%= concat.bundleCss.dest %>',
dest: 'dist/core.min.css'
dest: 'dist/bundle.min.css'
},
baseCss: {
src: '<%= concat.baseCss.dest %>',
dest: 'dist/base.min.css'
}
},
jshint: {
@ -296,5 +286,5 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.registerTask('default', ['less', 'concat', 'watch']);
grunt.registerTask('default', ['less', 'concat', 'uglify', 'cssmin', 'watch']);
};

1
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

46
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save