1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05: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: { 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: { files: {
'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less',
'dist/css/<%= pkg.name %>-theme.css': 'less/theme.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); -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); 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; 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