mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 19:25:10 +00:00
support .svelte or .html extensions
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { writable } from 'svelte/store.mjs';
|
||||
import Sapper from '@sapper/internal/Sapper.html';
|
||||
import Sapper from '@sapper/internal/Sapper.svelte';
|
||||
import { stores } from '@sapper/internal/shared';
|
||||
import { Root, root_preload, ErrorComponent, ignore, components, routes } from '@sapper/internal/manifest-client';
|
||||
import {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user