added source maps for LESS (fixes #196)

This commit is contained in:
FezVrasta 2014-11-26 13:28:22 +01:00
parent 0eb51de4e6
commit 8dd2272549
4 changed files with 218 additions and 189 deletions

View File

@ -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

File diff suppressed because one or more lines are too long

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
View 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"}