Skip to content

Commit

Permalink
Fix generation of source map links when using grunt.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jul 10, 2020
1 parent bc6800c commit e38ac2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function (grunt) {
strictMath: false,
sourceMap: true,
outputSourceFiles: true,

This comment has been minimized.

Copy link
@vincentfretin

vincentfretin Jul 10, 2020

Member

You can try setting outputSourceFiles to false, and you can still see the less files in chrome.

sourceMapURL: '++theme++barceloneta/less/barceloneta-compiled.css.map',
sourceMapBasepath: 'plonetheme/barceloneta/theme/less/',
sourceMapFilename: 'plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map',
modifyVars: {
"isPlone": "false"
Expand Down
2 changes: 2 additions & 0 deletions news/207.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix generation of source map links when using grunt.
[thet]

0 comments on commit e38ac2d

Please sign in to comment.