mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-21 14:55:04 +00:00
switch to mjs to align with Svelte
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -12,4 +12,4 @@ sapper
|
|||||||
runtime.js
|
runtime.js
|
||||||
dist
|
dist
|
||||||
!rollup.config.js
|
!rollup.config.js
|
||||||
templates/*.js
|
templates/*.mjs
|
||||||
@@ -16,7 +16,7 @@ function template(kind, external, target) {
|
|||||||
return {
|
return {
|
||||||
input: `templates/src/${kind}/index.ts`,
|
input: `templates/src/${kind}/index.ts`,
|
||||||
output: {
|
output: {
|
||||||
file: `templates/${kind}.js`,
|
file: `templates/${kind}.mjs`,
|
||||||
format: 'es'
|
format: 'es'
|
||||||
},
|
},
|
||||||
external,
|
external,
|
||||||
|
|||||||
Reference in New Issue
Block a user