mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-11 19:04:30 +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
|
||||
dist
|
||||
!rollup.config.js
|
||||
templates/*.js
|
||||
templates/*.mjs
|
||||
@@ -16,7 +16,7 @@ function template(kind, external, target) {
|
||||
return {
|
||||
input: `templates/src/${kind}/index.ts`,
|
||||
output: {
|
||||
file: `templates/${kind}.js`,
|
||||
file: `templates/${kind}.mjs`,
|
||||
format: 'es'
|
||||
},
|
||||
external,
|
||||
|
||||
Reference in New Issue
Block a user