From 3d07c3e887480443757e571bb31fc182e73672b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sun, 22 Mar 2020 17:34:17 +0100 Subject: [PATCH] Temp fix for CSS: Use style over a bundled file --- rollup.config.js | 4 ++-- src/template.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 2025f00..4b6734e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -47,8 +47,8 @@ export default { svelte({ dev, hydratable: true, - emitCss: false, - css: css => css.write('static/bundle.css'), + emitCss: true, + // css: css => css.write('static/bundle.css'), preprocess }), resolve({ diff --git a/src/template.html b/src/template.html index 44d5090..be4984c 100644 --- a/src/template.html +++ b/src/template.html @@ -6,10 +6,10 @@ - %sapper.base% %sapper.head% + %sapper.styles%