I guess that's a fix

This commit is contained in:
Tobias Berger 2021-11-02 12:38:34 +01:00
parent 67e75fad90
commit 9951467450
2 changed files with 0 additions and 10 deletions

View file

@ -1,9 +0,0 @@
This file exists because I don't know how to use rollup properly, I guess.
rollup-plugin-svelte in combination with rollup-plugin-scss (as a separate plugin, not in preprocessor) is emitting its stylesheets to a virtual file
presumably that file gets read by rollup-plugin-scss (or rollup-plugin-postcss, which is used as processor there) as stdin instead of global.scss, putting it into the sourceMap
(All of that is guesswork, I don't really know what's going on)
If you can help me figure out how to fix it, please help me.
https://github.com/Toby222/

View file

@ -63,7 +63,6 @@ export default {
// The processor (postcss) adds "bundle.css" to the sourceMap
// but for some reason only in dev mode?
scss({
sourceMap: true,
outputStyle: production ? "compressed" : "expanded",
processor() {
// If this is a separate plugin, it doesn't seem to run (autoprefixer doesn't run)