From 73fe03b411859873b9aa1c289b9ebcfb6379d1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Mon, 2 Mar 2020 23:17:04 +0100 Subject: [PATCH] Use sapper.styles temporarily --- .gitignore | 8 +++----- rollup.config.js | 2 +- src/template.html | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 5aea041..480ace8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ .DS_Store -/node_modules/ -/src/node_modules/@sapper/ -yarn-error.log -/cypress/screenshots/ -/__sapper__/ +node_modules +__sapper__ +/cypress/screenshots diff --git a/rollup.config.js b/rollup.config.js index 985c540..e8b6f18 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -47,7 +47,7 @@ export default { hydratable: true, emitCss: true, // ...(!dev && { - css: css => css.write('static/bundle.css', dev), + // css: css => css.write('static/bundle.css', dev), // }), // hot: hot && { // // sapper-dev-client expects either webpack or rollup with no HMR, so diff --git a/src/template.html b/src/template.html index 199d1dd..989dfcc 100644 --- a/src/template.html +++ b/src/template.html @@ -5,10 +5,10 @@ - %sapper.base% %sapper.head% + %sapper.styles%