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%