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:
@@ -6,8 +6,9 @@ const runtime = [
|
||||
'app.mjs',
|
||||
'server.mjs',
|
||||
'internal/shared.mjs',
|
||||
'internal/Sapper.html',
|
||||
'internal/layout.html'
|
||||
'internal/Sapper.svelte',
|
||||
'internal/layout.svelte',
|
||||
'internal/error.svelte'
|
||||
].map(file => ({
|
||||
file,
|
||||
source: fs.readFileSync(path.join(__dirname, `../runtime/${file}`), 'utf-8')
|
||||
|
||||
Reference in New Issue
Block a user