diff --git a/package.json b/package.json index 98c5683..d1655cf 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,11 @@ "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", + "files": [ + "./dist" + ], "scripts": { + "prepublishOnly": "pnpm build", "build": "tsup-node", "build:docs": "typedoc ./src/index.ts", "typecheck": "tsc --noEmit",