diff --git a/package.json b/package.json index f1e1d84..66ff2cf 100644 --- a/package.json +++ b/package.json @@ -19,5 +19,8 @@ "vitest": "^3.2.4" }, "module": "dist/index.esm.js", - "types": "dist/index.d.ts" + "types": "dist/index.d.ts", + "files": [ + "dist" + ] } diff --git a/tsconfig.json b/tsconfig.json index 3f69900..b6736ff 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,6 +19,8 @@ // Other Outputs "sourceMap": true, "declaration": true, + "declarationDir": "dist", + "emitDeclarationOnly": true, "declarationMap": true, // Stricter Typechecking Options