diff --git a/site/mcfly.config.ts b/site/mcfly.config.mjs similarity index 100% rename from site/mcfly.config.ts rename to site/mcfly.config.mjs diff --git a/site/nitro.config.ts b/site/nitro.config.mjs similarity index 100% rename from site/nitro.config.ts rename to site/nitro.config.mjs diff --git a/site/routes/[...index].ts b/site/routes/[...index].js similarity index 78% rename from site/routes/[...index].ts rename to site/routes/[...index].js index 986b716..ec85707 100644 --- a/site/routes/[...index].ts +++ b/site/routes/[...index].js @@ -2,5 +2,5 @@ * McFly SSR logic */ import { defineRoute } from "@mcflyjs/core/event-handler.mjs"; -import config from "../mcfly.config"; +import config from "../mcfly.config.mjs"; export default defineRoute({ config, storage: useStorage() }); diff --git a/templates/basic/mcfly.config.ts b/templates/basic/mcfly.config.mjs similarity index 100% rename from templates/basic/mcfly.config.ts rename to templates/basic/mcfly.config.mjs diff --git a/templates/basic/nitro.config.ts b/templates/basic/nitro.config.mjs similarity index 100% rename from templates/basic/nitro.config.ts rename to templates/basic/nitro.config.mjs diff --git a/templates/basic/routes/[...index].ts b/templates/basic/routes/[...index].js similarity index 78% rename from templates/basic/routes/[...index].ts rename to templates/basic/routes/[...index].js index 986b716..ec85707 100644 --- a/templates/basic/routes/[...index].ts +++ b/templates/basic/routes/[...index].js @@ -2,5 +2,5 @@ * McFly SSR logic */ import { defineRoute } from "@mcflyjs/core/event-handler.mjs"; -import config from "../mcfly.config"; +import config from "../mcfly.config.mjs"; export default defineRoute({ config, storage: useStorage() });