From e38ac2d5d18d7fcc360b603427b2c7ab6ba40315 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Fri, 10 Jul 2020 10:13:15 +0200 Subject: [PATCH] Fix generation of source map links when using grunt. --- Gruntfile.js | 2 +- news/207.bugfix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 news/207.bugfix diff --git a/Gruntfile.js b/Gruntfile.js index 1480b0c6..b3757163 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -14,7 +14,7 @@ module.exports = function (grunt) { strictMath: false, sourceMap: true, outputSourceFiles: true, - 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" diff --git a/news/207.bugfix b/news/207.bugfix new file mode 100644 index 00000000..0688be78 --- /dev/null +++ b/news/207.bugfix @@ -0,0 +1,2 @@ +Fix generation of source map links when using grunt. +[thet]