0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

enable CSS source maps in grunt-contrib-less

This commit is contained in:
Chris Rebert 2013-12-09 14:29:19 -08:00
parent 25ec09f06a
commit 9e38e25534
5 changed files with 22 additions and 2 deletions

View File

@ -111,9 +111,25 @@ module.exports = function (grunt) {
},
less: {
compile: {
compileCore: {
options: {
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: {
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'
}
},

View File

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

1
dist/css/bootstrap-theme.css.map vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -5940,3 +5940,4 @@ td.visible-print {
display: none !important;
}
}
/*# sourceMappingURL=bootstrap.css.map */

1
dist/css/bootstrap.css.map vendored Normal file

File diff suppressed because one or more lines are too long