update svelte and sapper

This commit is contained in:
Rich Harris
2018-01-14 12:09:24 -05:00
parent 422b0cc1f2
commit 8b5c243e4a
3 changed files with 4 additions and 7 deletions

View File

@@ -19,15 +19,12 @@
"glob": "^7.1.2",
"node-fetch": "^1.7.3",
"npm-run-all": "^4.1.2",
"sapper": "^0.3.1",
"sapper": "^0.4.0",
"serve-static": "^1.13.1",
"style-loader": "^0.19.1",
"svelte": "^1.50.0",
"svelte": "^1.51.1",
"svelte-loader": "^2.3.3",
"uglifyjs-webpack-plugin": "^1.1.5",
"webpack": "^3.10.0"
},
"engines": {
"node": ">= 8"
}
}

View File

@@ -32,6 +32,6 @@
<!-- Sapper creates a <script> tag containing `templates/main.js`
and anything else it needs to hydrate the app and
initialise the router -->
<script src='%sapper.main%'></script>
%sapper.scripts%
</body>
</html>

View File

@@ -41,6 +41,6 @@
<h1>%sapper.title%</h1>
<p>Could not %sapper.method% %sapper.url%</p>
<script src='%sapper.main%'></script>
%sapper.scripts%
</body>
</html>