mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-23 15:41:32 +00:00
first crack at context-driven store
This commit is contained in:
@@ -17,7 +17,8 @@ function template(kind, external, target) {
|
||||
input: `templates/src/${kind}/index.ts`,
|
||||
output: {
|
||||
file: `templates/${kind}.mjs`,
|
||||
format: 'es'
|
||||
format: 'es',
|
||||
paths: id => id.replace('@sapper', '.')
|
||||
},
|
||||
external,
|
||||
plugins: [
|
||||
@@ -35,7 +36,7 @@ function template(kind, external, target) {
|
||||
}
|
||||
|
||||
export default [
|
||||
template('client', ['__ROOT__', '__ERROR__'], 'ES2017'),
|
||||
template('app', ['__ROOT__', '__ERROR__', 'svelte', '@sapper/App.html'], 'ES2017'),
|
||||
template('server', builtinModules, 'ES2015'),
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user