diff --git a/src/webEditorUtils/vite.config.ts b/src/webEditorUtils/vite.config.ts index 66e1d1b..649a2f9 100644 --- a/src/webEditorUtils/vite.config.ts +++ b/src/webEditorUtils/vite.config.ts @@ -15,7 +15,7 @@ export default defineConfig({ rollupOptions: { // make sure to externalize deps that shouldn't be bundled // into your library - external: ['@tiptap/pm/view', 'react', 'react/jsx-runtime', 'react-dom'], + external: ['react', 'react/jsx-runtime', 'react-dom'], output: { dir: 'lib-web', // Provide global variables to use in the UMD build