From f9f7a4ddf2ab09491ae7bd791c644247211ceb4f Mon Sep 17 00:00:00 2001 From: Moshe Grunwald <34072688+TheBestMoshe@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:13:25 -0500 Subject: [PATCH] fix: use`.mts` extension for imports (#28) --- package.json | 2 +- src/main.mts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7a0eb26..a79e580 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "./scripts/deploy.sh", "typecheck": "tsc --skipLibCheck --noEmit", "watch": "nodemon --exec tsx src/main.ts", - "dev": "tsx src/main.ts", + "dev": "tsx src/main.mts", "format": "eslint --fix src/", "lint": "eslint src/", "rollback": "./scripts/rollback.sh", diff --git a/src/main.mts b/src/main.mts index 455eee8..77a7e40 100644 --- a/src/main.mts +++ b/src/main.mts @@ -1,4 +1,4 @@ -import "./utils"; +import "./utils.mts"; import { LIB_AUTOMATION } from "@digital-alchemy/automation"; import { CreateApplication, StringConfig } from "@digital-alchemy/core";