From 710c36b036f98262279d22f638940746ce7ab4f5 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Wed, 12 Jun 2019 09:47:18 -0700 Subject: [PATCH] chore: add `--single` flag & update pathing; - especially annoying for nested routes - leaving root-relative is less common case - Closes #31 --- package.json | 4 ++-- public/index.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8d1ebc55..2ee9b259 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build": "rollup -c", "autobuild": "rollup -c -w", "dev": "run-p start:dev autobuild", - "start": "sirv public", - "start:dev": "sirv public --dev" + "start": "sirv public --single", + "start:dev": "sirv public --single --dev" } } diff --git a/public/index.html b/public/index.html index 3d6b6978..123d09d3 100644 --- a/public/index.html +++ b/public/index.html @@ -6,12 +6,12 @@ Svelte app - - - + + + - + \ No newline at end of file