diff --git a/plugins/record-hook/rollup.config.mjs b/plugins/record-hook/rollup.config.mjs index c8f69de4c..77c84a0f3 100644 --- a/plugins/record-hook/rollup.config.mjs +++ b/plugins/record-hook/rollup.config.mjs @@ -22,6 +22,10 @@ export default { plugins: [ commonjs({ include: '../../node_modules/**' }), nodeResolve({ browser: true }), - typescript({ tsconfig: '../../tsconfig.json' }), + typescript({ + tsconfig: '../../tsconfig.json', + declaration: true, + declarationDir: './dist', + }), ], }