diff --git a/package.json b/package.json index dce7c7b..c7ff471 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,18 @@ "name": "task-definition-ts", "version": "1.0.5", "description": "", - "main": "index.js", + "exports": { + ".": { + "import": { + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } + } + }, "scripts": { "build": "unbuild", "release": "unbuild && changelogen --release --push --publish"