diff --git a/package.json b/package.json index b7f7e33..8e0436c 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "type": "git", "url": "git+https://github.com/kiki-kanri/kikiutils-node.git" }, + "type": "module", "scripts": { "build": "rm -rf ./dist && tsc-multi", "bumplog": "changelogen --bump" @@ -28,11 +29,12 @@ "typescript": "^5.4.5" }, "keywords": [], + "engines": { + "node": ">=18" + }, "exports": { "./*": { "default": "./*.mjs", - "import": "./*.mjs", - "require": "./*.cjs", "types": "./*.d.ts" } }, diff --git a/tsc-multi.json b/tsc-multi.json index 3794a48..4b5dac9 100644 --- a/tsc-multi.json +++ b/tsc-multi.json @@ -1,3 +1,3 @@ { - "targets": [{ "extname": ".cjs" }, { "extname": ".mjs" }] + "targets": [{ "extname": ".mjs" }] }