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 .DS_Store
/node_modules/ node_modules
/src/node_modules/@sapper/ __sapper__
yarn-error.log /cypress/screenshots
/cypress/screenshots/
/__sapper__/

View File

@@ -47,7 +47,7 @@ export default {
hydratable: true, hydratable: true,
emitCss: true, emitCss: true,
// ...(!dev && { // ...(!dev && {
css: css => css.write('static/bundle.css', dev), // css: css => css.write('static/bundle.css', dev),
// }), // }),
// hot: hot && { // hot: hot && {
// // sapper-dev-client expects either webpack or rollup with no HMR, so // // 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 http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="shortcut icon" type="image/png" href="/img/favicon.png"> <link rel="shortcut icon" type="image/png" href="/img/favicon.png">
<link rel="stylesheet" href="/bundle.css">
%sapper.base% %sapper.base%
%sapper.head% %sapper.head%
%sapper.styles%
</head> </head>
<body> <body>