Skip to content

Commit

Permalink
fix(bubble-menu): move from lodash-es back to lodash, use named import
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Feb 7, 2023
1 parent 5b9fd4a commit e958128
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 53 deletions.
71 changes: 22 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/extension-bubble-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@tiptap/pm": "^2.0.0-beta.209"
},
"dependencies": {
"lodash-es": "^4.17.21",
"lodash": "^4.17.21",
"tippy.js": "^6.3.7"
},
"repository": {
Expand All @@ -42,8 +42,8 @@
},
"sideEffects": false,
"devDependencies": {
"@types/lodash-es": "^4.17.6",
"@tiptap/pm": "^2.0.0-beta.212"
"@tiptap/pm": "^2.0.0-beta.212",
"@types/lodash": "^4.14.191"
},
"scripts": {
"build": "tsup"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-bubble-menu/src/bubble-menu-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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-es'
import { debounce } from 'lodash'
import tippy, { Instance, Props } from 'tippy.js'

export interface BubbleMenuPluginProps {
Expand Down

0 comments on commit e958128

Please sign in to comment.