Merge pull request #916 from roots/js-source-map
Make enabling a JS source map easy
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
### HEAD
|
||||
* Add JS source map (disabled by default)
|
||||
* Update to Bootstrap 3.0.2
|
||||
* Replace `grunt-recess` with `grunt-contrib-less`, add LESS source maps support
|
||||
* Replace `grunt-recess` with `grunt-contrib-less`, add LESS source map support
|
||||
|
||||
### 6.5.1: November 5th, 2013
|
||||
* Move clean URLs to a [plugin](https://github.com/roots/roots-rewrites)
|
||||
|
||||
@@ -22,7 +22,7 @@ module.exports = function(grunt) {
|
||||
},
|
||||
options: {
|
||||
compress: true,
|
||||
// LESS source maps
|
||||
// LESS source map
|
||||
// To enable, set sourceMap to true and update sourceMapRootpath based on your install
|
||||
sourceMap: false,
|
||||
sourceMapFilename: 'assets/css/main.min.css.map',
|
||||
@@ -49,6 +49,11 @@ module.exports = function(grunt) {
|
||||
'assets/js/plugins/*.js',
|
||||
'assets/js/_*.js'
|
||||
]
|
||||
},
|
||||
options: {
|
||||
// JS source map: to enable, uncomment the lines below and update sourceMappingURL based on your install
|
||||
// sourceMap: 'assets/js/scripts.min.js.map',
|
||||
// sourceMappingURL: '/app/themes/roots/assets/js/scripts.min.js.map'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user