Commit ee709db6 authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #11804 from twbs/css-source-maps

enable CSS source maps in grunt-contrib-less
parents c4b0684e c262e5b4
No related merge requests found
Showing with 20 additions and 3 deletions
+20 -3
......@@ -113,12 +113,27 @@ module.exports = function (grunt) {
},
less: {
compile: {
compileCore: {
options: {
strictMath: true
strictMath: true,
sourceMap: true,
outputSourceFiles: true,
sourceMapURL: '<%= pkg.name %>.css.map',
sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map'
},
files: {
'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less'
}
},
compileTheme: {
options: {
strictMath: true,
sourceMap: true,
outputSourceFiles: true,
sourceMapURL: '<%= pkg.name %>-theme.css.map',
sourceMapFilename: 'dist/css/<%= pkg.name %>-theme.css.map'
},
files: {
'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less',
'dist/css/<%= pkg.name %>-theme.css': 'less/theme.less'
}
},
......
......@@ -345,3 +345,4 @@
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}
/*# sourceMappingURL=bootstrap-theme.css.map */
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -5741,3 +5741,4 @@ td.visible-print {
display: none !important;
}
}
/*# sourceMappingURL=bootstrap.css.map */
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
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