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:
parent
25ec09f06a
commit
9e38e25534
5 changed files with 22 additions and 2 deletions
20
Gruntfile.js
20
Gruntfile.js
|
@ -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'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
1
dist/css/bootstrap-theme.css
vendored
1
dist/css/bootstrap-theme.css
vendored
|
@ -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
1
dist/css/bootstrap-theme.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/bootstrap.css
vendored
1
dist/css/bootstrap.css
vendored
|
@ -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
1
dist/css/bootstrap.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue