diff --git a/package.json b/package.json index c268e31..ded0838 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,11 @@ "url": "https://pilaton.com" }, "type": "module", - "main": "build/sleep.cjs.js", - "module": "build/sleep.esm.mjs", - "types": "build/sleep.d.ts", + "exports": { + "require": "./build/sleep.cjs.js", + "import": "./build/sleep.esm.mjs", + "types": "./build/sleep.d.ts" + }, "files": [ "build/" ],