Source maps don't work for SCSS compiler

Created on 24 July 2023, over 1 year ago
Updated 18 March 2024, 8 months ago

Problem/Motivation

While testing out this module I discovered that source maps don't work at all, they don't get printed to the file system.

Steps to reproduce

Enable the module, goto /admin/config/development/performance and check the box "Enable sourcemaps" under SCSS Compiler -> Advanced.
Then rebuild the cache and go to any page. In the developer tools in the browser, you will see an error message in the console tab regarding not finding the .css.map file which is referenced in the css file. If you check your filesystem, you will see that in the subfolder where scss_compiler prints the css file, there is no .css.map file present.

Proposed resolution

I have created a patch which solves this issue for the SCSS compiler.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden ordermind

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024