Use sapper.styles temporarily
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-02 23:17:04 +01:00
parent 3b77259f4a
commit 73fe03b411
3 changed files with 5 additions and 7 deletions

8
.gitignore vendored
View File

@@ -1,6 +1,4 @@
.DS_Store
/node_modules/
/src/node_modules/@sapper/
yarn-error.log
/cypress/screenshots/
/__sapper__/
node_modules
__sapper__
/cypress/screenshots

View File

@@ -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

View File

@@ -5,10 +5,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="shortcut icon" type="image/png" href="/img/favicon.png">
<link rel="stylesheet" href="/bundle.css">
%sapper.base%
%sapper.head%
%sapper.styles%
</head>
<body>