mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-05 13:50:58 +00:00
rename gruntfile less tasks
This commit is contained in:
parent
8611ed4dbd
commit
aa5f040a87
1 changed files with 3 additions and 3 deletions
|
|
@ -149,7 +149,7 @@ module.exports = function (grunt) {
|
|||
},
|
||||
|
||||
less: {
|
||||
compileCore: {
|
||||
core: {
|
||||
options: {
|
||||
strictMath: true,
|
||||
sourceMap: true,
|
||||
|
|
@ -160,7 +160,7 @@ module.exports = function (grunt) {
|
|||
src: 'less/bootstrap.less',
|
||||
dest: 'dist/css/<%= pkg.name %>.css'
|
||||
},
|
||||
compileDocs: {
|
||||
docs: {
|
||||
options: {
|
||||
strictMath: true
|
||||
},
|
||||
|
|
@ -388,7 +388,7 @@ module.exports = function (grunt) {
|
|||
grunt.registerTask('dist-js', ['concat', 'uglify:core', 'commonjs']);
|
||||
|
||||
// CSS distribution task.
|
||||
grunt.registerTask('less-compile', ['less:compileCore', 'less:compileDocs']);
|
||||
grunt.registerTask('less-compile', ['less:core', 'less:docs']);
|
||||
grunt.registerTask('dist-css', ['less-compile', 'autoprefixer:core', 'usebanner', 'csscomb:dist', 'cssmin:core']);
|
||||
|
||||
// Full distribution task.
|
||||
|
|
|
|||
Loading…
Reference in a new issue