From 17363afde05377db26d0dd906962c6f2668c32ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20K=C3=BChn?= Date: Tue, 4 Jan 2022 23:39:38 +0100 Subject: [PATCH] fix build files for packages with custom tsconfig --- rollup.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 2161b344..e16d9ad0 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -94,7 +94,9 @@ async function build(commandLineArgs) { '@tiptap/*': ['packages/*/src'], }, }, - include: null, + include: fs.existsSync(`${basePath}/tsconfig.json`) + ? [] + : null, }, }), ],