From a380ec41d198ebacc80cea9e79b0a8aa3092618a Mon Sep 17 00:00:00 2001 From: Dominik Biedebach Date: Wed, 8 Feb 2023 11:51:10 +0100 Subject: [PATCH] fix: fix builds including prosemirror --- packages/core/rollup.config.js | 1 + packages/extension-blockquote/rollup.config.js | 1 + packages/extension-bold/rollup.config.js | 1 + packages/extension-bubble-menu/rollup.config.js | 1 + packages/extension-bullet-list/rollup.config.js | 1 + packages/extension-character-count/rollup.config.js | 1 + packages/extension-code-block-lowlight/rollup.config.js | 1 + packages/extension-code-block/rollup.config.js | 1 + packages/extension-code/rollup.config.js | 1 + packages/extension-collaboration-cursor/rollup.config.js | 1 + packages/extension-collaboration/rollup.config.js | 1 + packages/extension-color/rollup.config.js | 1 + packages/extension-document/rollup.config.js | 1 + packages/extension-dropcursor/rollup.config.js | 1 + packages/extension-floating-menu/rollup.config.js | 1 + packages/extension-focus/rollup.config.js | 1 + packages/extension-font-family/rollup.config.js | 1 + packages/extension-gapcursor/rollup.config.js | 1 + packages/extension-hard-break/rollup.config.js | 1 + packages/extension-heading/rollup.config.js | 1 + packages/extension-highlight/rollup.config.js | 1 + packages/extension-history/rollup.config.js | 1 + packages/extension-horizontal-rule/rollup.config.js | 1 + packages/extension-image/rollup.config.js | 1 + packages/extension-italic/rollup.config.js | 1 + packages/extension-link/rollup.config.js | 1 + packages/extension-list-item/rollup.config.js | 1 + packages/extension-mention/rollup.config.js | 1 + packages/extension-ordered-list/rollup.config.js | 1 + packages/extension-paragraph/rollup.config.js | 1 + packages/extension-placeholder/rollup.config.js | 1 + packages/extension-strike/rollup.config.js | 1 + packages/extension-subscript/rollup.config.js | 1 + packages/extension-superscript/rollup.config.js | 1 + packages/extension-table-cell/rollup.config.js | 1 + packages/extension-table-header/rollup.config.js | 1 + packages/extension-table-row/rollup.config.js | 1 + packages/extension-table/rollup.config.js | 1 + packages/extension-task-item/rollup.config.js | 1 + packages/extension-task-list/rollup.config.js | 1 + packages/extension-text-align/rollup.config.js | 1 + packages/extension-text-style/rollup.config.js | 1 + packages/extension-text/rollup.config.js | 1 + packages/extension-typography/rollup.config.js | 1 + packages/extension-underline/rollup.config.js | 1 + packages/extension-youtube/rollup.config.js | 1 + packages/html/rollup.config.js | 1 + packages/react/rollup.config.js | 1 + packages/starter-kit/rollup.config.js | 1 + packages/suggestion/rollup.config.js | 1 + packages/vue-2/rollup.config.js | 1 + packages/vue-3/rollup.config.js | 1 + 52 files changed, 52 insertions(+) diff --git a/packages/core/rollup.config.js b/packages/core/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/core/rollup.config.js +++ b/packages/core/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-blockquote/rollup.config.js b/packages/extension-blockquote/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-blockquote/rollup.config.js +++ b/packages/extension-blockquote/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-bold/rollup.config.js b/packages/extension-bold/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-bold/rollup.config.js +++ b/packages/extension-bold/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-bubble-menu/rollup.config.js b/packages/extension-bubble-menu/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-bubble-menu/rollup.config.js +++ b/packages/extension-bubble-menu/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-bullet-list/rollup.config.js b/packages/extension-bullet-list/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-bullet-list/rollup.config.js +++ b/packages/extension-bullet-list/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-character-count/rollup.config.js b/packages/extension-character-count/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-character-count/rollup.config.js +++ b/packages/extension-character-count/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-code-block-lowlight/rollup.config.js b/packages/extension-code-block-lowlight/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-code-block-lowlight/rollup.config.js +++ b/packages/extension-code-block-lowlight/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-code-block/rollup.config.js b/packages/extension-code-block/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-code-block/rollup.config.js +++ b/packages/extension-code-block/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-code/rollup.config.js b/packages/extension-code/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-code/rollup.config.js +++ b/packages/extension-code/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-collaboration-cursor/rollup.config.js b/packages/extension-collaboration-cursor/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-collaboration-cursor/rollup.config.js +++ b/packages/extension-collaboration-cursor/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-collaboration/rollup.config.js b/packages/extension-collaboration/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-collaboration/rollup.config.js +++ b/packages/extension-collaboration/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-color/rollup.config.js b/packages/extension-color/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-color/rollup.config.js +++ b/packages/extension-color/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-document/rollup.config.js b/packages/extension-document/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-document/rollup.config.js +++ b/packages/extension-document/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-dropcursor/rollup.config.js b/packages/extension-dropcursor/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-dropcursor/rollup.config.js +++ b/packages/extension-dropcursor/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-floating-menu/rollup.config.js b/packages/extension-floating-menu/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-floating-menu/rollup.config.js +++ b/packages/extension-floating-menu/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-focus/rollup.config.js b/packages/extension-focus/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-focus/rollup.config.js +++ b/packages/extension-focus/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-font-family/rollup.config.js b/packages/extension-font-family/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-font-family/rollup.config.js +++ b/packages/extension-font-family/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-gapcursor/rollup.config.js b/packages/extension-gapcursor/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-gapcursor/rollup.config.js +++ b/packages/extension-gapcursor/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-hard-break/rollup.config.js b/packages/extension-hard-break/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-hard-break/rollup.config.js +++ b/packages/extension-hard-break/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-heading/rollup.config.js b/packages/extension-heading/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-heading/rollup.config.js +++ b/packages/extension-heading/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-highlight/rollup.config.js b/packages/extension-highlight/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-highlight/rollup.config.js +++ b/packages/extension-highlight/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-history/rollup.config.js b/packages/extension-history/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-history/rollup.config.js +++ b/packages/extension-history/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-horizontal-rule/rollup.config.js b/packages/extension-horizontal-rule/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-horizontal-rule/rollup.config.js +++ b/packages/extension-horizontal-rule/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-image/rollup.config.js b/packages/extension-image/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-image/rollup.config.js +++ b/packages/extension-image/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-italic/rollup.config.js b/packages/extension-italic/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-italic/rollup.config.js +++ b/packages/extension-italic/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-link/rollup.config.js b/packages/extension-link/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-link/rollup.config.js +++ b/packages/extension-link/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-list-item/rollup.config.js b/packages/extension-list-item/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-list-item/rollup.config.js +++ b/packages/extension-list-item/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-mention/rollup.config.js b/packages/extension-mention/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-mention/rollup.config.js +++ b/packages/extension-mention/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-ordered-list/rollup.config.js b/packages/extension-ordered-list/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-ordered-list/rollup.config.js +++ b/packages/extension-ordered-list/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-paragraph/rollup.config.js b/packages/extension-paragraph/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-paragraph/rollup.config.js +++ b/packages/extension-paragraph/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-placeholder/rollup.config.js b/packages/extension-placeholder/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-placeholder/rollup.config.js +++ b/packages/extension-placeholder/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-strike/rollup.config.js b/packages/extension-strike/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-strike/rollup.config.js +++ b/packages/extension-strike/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-subscript/rollup.config.js b/packages/extension-subscript/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-subscript/rollup.config.js +++ b/packages/extension-subscript/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-superscript/rollup.config.js b/packages/extension-superscript/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-superscript/rollup.config.js +++ b/packages/extension-superscript/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-table-cell/rollup.config.js b/packages/extension-table-cell/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-table-cell/rollup.config.js +++ b/packages/extension-table-cell/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-table-header/rollup.config.js b/packages/extension-table-header/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-table-header/rollup.config.js +++ b/packages/extension-table-header/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-table-row/rollup.config.js b/packages/extension-table-row/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-table-row/rollup.config.js +++ b/packages/extension-table-row/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-table/rollup.config.js b/packages/extension-table/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-table/rollup.config.js +++ b/packages/extension-table/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-task-item/rollup.config.js b/packages/extension-task-item/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-task-item/rollup.config.js +++ b/packages/extension-task-item/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-task-list/rollup.config.js b/packages/extension-task-list/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-task-list/rollup.config.js +++ b/packages/extension-task-list/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-text-align/rollup.config.js b/packages/extension-text-align/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-text-align/rollup.config.js +++ b/packages/extension-text-align/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-text-style/rollup.config.js b/packages/extension-text-style/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-text-style/rollup.config.js +++ b/packages/extension-text-style/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-text/rollup.config.js b/packages/extension-text/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-text/rollup.config.js +++ b/packages/extension-text/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-typography/rollup.config.js b/packages/extension-typography/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-typography/rollup.config.js +++ b/packages/extension-typography/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-underline/rollup.config.js b/packages/extension-underline/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-underline/rollup.config.js +++ b/packages/extension-underline/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/extension-youtube/rollup.config.js b/packages/extension-youtube/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/extension-youtube/rollup.config.js +++ b/packages/extension-youtube/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/html/rollup.config.js b/packages/html/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/html/rollup.config.js +++ b/packages/html/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/react/rollup.config.js b/packages/react/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/react/rollup.config.js +++ b/packages/react/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/starter-kit/rollup.config.js b/packages/starter-kit/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/starter-kit/rollup.config.js +++ b/packages/starter-kit/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/suggestion/rollup.config.js b/packages/suggestion/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/suggestion/rollup.config.js +++ b/packages/suggestion/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/vue-2/rollup.config.js b/packages/vue-2/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/vue-2/rollup.config.js +++ b/packages/vue-2/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ { diff --git a/packages/vue-3/rollup.config.js b/packages/vue-3/rollup.config.js index 50ee1b08f5a..d282f843052 100644 --- a/packages/vue-3/rollup.config.js +++ b/packages/vue-3/rollup.config.js @@ -9,6 +9,7 @@ import typescript from 'rollup-plugin-typescript2' import pkg from './package.json' export default { + external: [/@tiptap\/pm\/.*/], input: 'src/index.ts', output: [ {