Skip to content

Commit

Permalink
Merge pull request #174 from 10play/rm-tp-view-external
Browse files Browse the repository at this point in the history
fix: vite config for web editor utils
  • Loading branch information
17Amir17 committed Jul 29, 2024
2 parents 88a4ca9 + 1ed95e8 commit 558ccf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webEditorUtils/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 558ccf3

Please sign in to comment.