mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 13:04:14 +03:00
added source maps for LESS (fixes #196)
This commit is contained in:
parent
0eb51de4e6
commit
8dd2272549
32
Gruntfile.js
32
Gruntfile.js
|
@ -6,14 +6,40 @@ module.exports = function(grunt) {
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
|
|
||||||
less: {
|
less: {
|
||||||
compileless: {
|
material: {
|
||||||
options: {
|
options: {
|
||||||
paths: ["less"]
|
paths: ["less"],
|
||||||
|
sourceMap: true,
|
||||||
|
sourceMapRootpath: "/",
|
||||||
|
sourceMapFilename: "dist/css/material.css.map",
|
||||||
|
sourceMapURL: "material.css.map"
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
"dist/css/material.css": "less/material.less",
|
"dist/css/material.css": "less/material.less",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
materialWfont: {
|
||||||
|
options: {
|
||||||
|
paths: ["less"],
|
||||||
|
sourceMap: true,
|
||||||
|
sourceMapRootpath: "/",
|
||||||
|
sourceMapFilename: "dist/css/material-wfont.css.map",
|
||||||
|
sourceMapURL: "material-wfont.css.map"
|
||||||
|
},
|
||||||
|
files: {
|
||||||
"dist/css/material-wfont.css": "less/material-wfont.less",
|
"dist/css/material-wfont.css": "less/material-wfont.less",
|
||||||
"dist/css/ripples.css": "less/ripples.less"
|
}
|
||||||
|
},
|
||||||
|
ripples: {
|
||||||
|
options: {
|
||||||
|
paths: ["less"],
|
||||||
|
sourceMap: true,
|
||||||
|
sourceMapRootpath: "/",
|
||||||
|
sourceMapFilename: "dist/css/ripples.css.map",
|
||||||
|
sourceMapURL: "ripples.css.map"
|
||||||
|
},
|
||||||
|
files: {
|
||||||
|
"dist/css/ripples.css": "less/ripples.less",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
1
dist/css/material-wfont.css.map
vendored
Normal file
1
dist/css/material-wfont.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/material.css.map
vendored
Normal file
1
dist/css/material.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/ripples.css.map
vendored
Normal file
1
dist/css/ripples.css.map
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"version":3,"sources":["/less/ripples.less"],"names":[],"mappings":"AAAA;EACI,kBAAA;;AAEJ;EACI,kBAAA;EACA,MAAA;EACA,OAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,gBAAA;EACA,sBAAA;;AAEJ;EACI,kBAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,qCAAA;EACA,WAAW,QAAX;EACA,qBAAA;EACA,UAAA;EACA,oBAAA;;AAEJ,OAAO;EACH,qDAAqD,iCAArD;EACA,YAAA;;AAEJ,OAAO;EACH,6CAAA;EACA,UAAA"}
|
Loading…
Reference in New Issue
Block a user