diff --git a/typescript/option/rollup.config.ts b/typescript/option/rollup.config.ts index 2d1c5a9..bad4d26 100644 --- a/typescript/option/rollup.config.ts +++ b/typescript/option/rollup.config.ts @@ -42,7 +42,10 @@ export default [ plugins: [ ts({ tsconfig: { - declaration: true + declaration: true, + ...require(resolve(__dirname, 'tsconfig.json'))[ + 'compilerOptions' + ] } }), !dev && terser()