From 995146745037897bb95aa28254366b713ffba065 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Tue, 2 Nov 2021 12:38:34 +0100 Subject: [PATCH] I guess that's a fix --- public/stdin | 9 --------- rollup.config.mjs | 1 - 2 files changed, 10 deletions(-) delete mode 100644 public/stdin diff --git a/public/stdin b/public/stdin deleted file mode 100644 index 525c42c..0000000 --- a/public/stdin +++ /dev/null @@ -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/ \ No newline at end of file diff --git a/rollup.config.mjs b/rollup.config.mjs index 47523be..bd06ef5 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -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)