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

@@ -9,7 +9,7 @@ import { IGNORE } from '../constants';
import { Manifest, Page, Props, Req, Res } from './types';
import { build_dir, dev, src_dir } from '@sapper/internal/manifest-server';
import { stores } from '@sapper/internal/shared';
import Sapper from '@sapper/internal/Sapper.html';
import Sapper from '@sapper/internal/Sapper.svelte';
export function get_page_handler(
manifest: Manifest,