0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

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

enable CSS source maps in grunt-contrib-less
This commit is contained in:
Mark Otto 2013-12-18 12:57:38 -08:00
commit ee709db679
5 changed files with 22 additions and 3 deletions

View File

@ -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'
}
},

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

@ -5741,3 +5741,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