Commit da8daa66 authored by vsn4ik's avatar vsn4ik

Gruntfile.js: Use user-friendly properties.

parent a8437f0d
...@@ -155,9 +155,8 @@ module.exports = function (grunt) { ...@@ -155,9 +155,8 @@ module.exports = function (grunt) {
sourceMapURL: '<%= pkg.name %>.css.map', sourceMapURL: '<%= pkg.name %>.css.map',
sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map' sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map'
}, },
files: { src: 'less/bootstrap.less',
'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less' dest: 'dist/css/<%= pkg.name %>.css'
}
}, },
compileTheme: { compileTheme: {
options: { options: {
...@@ -167,9 +166,8 @@ module.exports = function (grunt) { ...@@ -167,9 +166,8 @@ module.exports = function (grunt) {
sourceMapURL: '<%= pkg.name %>-theme.css.map', sourceMapURL: '<%= pkg.name %>-theme.css.map',
sourceMapFilename: 'dist/css/<%= pkg.name %>-theme.css.map' sourceMapFilename: 'dist/css/<%= pkg.name %>-theme.css.map'
}, },
files: { src: 'less/theme.less',
'dist/css/<%= pkg.name %>-theme.css': 'less/theme.less' dest: 'dist/css/<%= pkg.name %>-theme.css'
}
} }
}, },
...@@ -277,9 +275,8 @@ module.exports = function (grunt) { ...@@ -277,9 +275,8 @@ module.exports = function (grunt) {
dest: 'docs/examples/' dest: 'docs/examples/'
}, },
docs: { docs: {
files: { src: 'docs/assets/css/src/docs.css',
'docs/assets/css/src/docs.css': 'docs/assets/css/src/docs.css' dest: 'docs/assets/css/src/docs.css'
}
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment