Skip to content

Commit c5f5540

Browse files
authored
fix: broken declarations (#15)
1 parent 244720f commit c5f5540

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ import typescript from "@rollup/plugin-typescript";
1818
export default [
1919
{
2020
input: "src/index.ts",
21-
plugins: [typescript()],
21+
plugins: [typescript({ tsconfig: './tsconfig.json', 'declarationDir': './' }),
22+
],
2223
output: {
2324
file: "dist/index.esm.js",
2425
format: "esm",

0 commit comments

Comments
 (0)