switch to mjs to align with Svelte

This commit is contained in:
Rich Harris
2019-01-31 11:32:05 -05:00
parent 90f3393ebf
commit c990c771d8
2 changed files with 2 additions and 2 deletions

View File

@@ -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,