Browse Source

Merge pull request #79 in FUI/fineui from ~GUY/fineui:master to master

* commit 'f72e6cf002eb061a63a168a465f69a5ebcd540fc':
  add
  min
es6
guy 7 years ago
parent
commit
2bca2f7b8a
  1. 21
      Gruntfile.js
  2. 1
      dist/bundle.min.css
  3. 46
      dist/bundle.min.js

21
Gruntfile.js

@ -234,36 +234,26 @@ module.exports = function (grunt) {
} }
}, },
uglify: { jsmin: {
options: { options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n' banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
}, },
dist: { dist: {
files: { files: {
'dist/core.min.js': ['<%= concat.coreJs.dest %>'], 'dist/bundle.min.js': ['<%= concat.bundleJs.dest %>'],
'dist/base.min.js': ['<%= concat.baseJs.dest %>'],
'dist/case.min.js': ['<%= concat.caseJs.dest %>']
} }
} }
}, },
cssmin: { 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: { jshint: {
@ -297,4 +287,5 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.registerTask('default', ['less', 'concat', 'watch']); grunt.registerTask('default', ['less', 'concat', 'watch']);
grunt.registerTask('uglify', ['less', 'concat', 'jsmin', 'cssmin']);
}; };

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