fix(bubble-menu): fix lodash import

This commit is contained in:
Dominik Biedebach 2023-02-08 16:58:07 +01:00
parent 9e9e489368
commit 06a3d6300d
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import typescript from 'rollup-plugin-typescript2'
import pkg from './package.json'
export default {
external: [/@tiptap\/pm\/.*/],
external: [/@tiptap\/pm\/.*/, 'lodash/debounce'],
input: 'src/index.ts',
output: [
{

View File

@ -3,7 +3,7 @@ import {
} from '@tiptap/core'
import { EditorState, Plugin, PluginKey } from '@tiptap/pm/state'
import { EditorView } from '@tiptap/pm/view'
import { debounce } from 'lodash'
import debounce from 'lodash/debounce'
import tippy, { Instance, Props } from 'tippy.js'
export interface BubbleMenuPluginProps {