support .svelte or .html extensions

This commit is contained in:
Rich Harris
2019-02-08 11:34:33 -05:00
parent 8870b58766
commit 84a0ae562f
11 changed files with 51 additions and 28 deletions

View File

@@ -27,6 +27,7 @@ export type WritableStore<T> = {
export type PageComponent = {
default?: boolean;
type?: string;
name: string;
file: string;
has_preload: boolean;
@@ -55,6 +56,7 @@ export type Dirs = {
export type ManifestData = {
root: PageComponent;
error: PageComponent;
components: PageComponent[];
pages: Page[];
server_routes: ServerRoute[];