tcmulder / aquamin

Aquamin WordPress Theme
3 stars 1 forks source link

Get sourcemaps to use asset files for CSS. #109

Open tcmulder opened 2 months ago

tcmulder commented 2 months ago

JavaScript appears to work, but sourcemaps for CSS point to the compiled CSS file. In dev mode, this is still helpful, as it has the filename and will open the code up to the correct line in DevTools; however, line numbers don't match up, because the sourcemap references the compiled CSS file and isn't aware of how the non-compiled file in the assets directory looks.