diff --git a/package.json b/package.json index 65cf574..cd04ce0 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,12 @@ "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", + "exports": { + ".": { + "import": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "tsup" },