From 1ed95e843e9cea728e30909be4aa27abc6bd15b1 Mon Sep 17 00:00:00 2001 From: Amir Angel <36531255+17Amir17@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:25:46 +0300 Subject: [PATCH] fix: vite config for web editor utils --- src/webEditorUtils/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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