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, }, }), ],