Skip to content

Commit

Permalink
fix(bubble-menu): change lodash to lodash-es for esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Feb 3, 2023
1 parent c866e77 commit 2d7661c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 50 deletions.
80 changes: 33 additions & 47 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion packages/extension-bubble-menu/package.json
Expand Up @@ -32,7 +32,7 @@
"@tiptap/pm": "^2.0.0-beta.209"
},
"dependencies": {
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"tippy.js": "^6.3.7"
},
"repository": {
Expand All @@ -43,6 +43,7 @@
"sideEffects": false,
"devDependencies": {
"@types/lodash": "^4.14.187",
"@types/lodash-es": "^4.17.6",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-bubble-menu/src/bubble-menu-plugin.ts
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/debounce'
import { debounce } from 'lodash-es'
import tippy, { Instance, Props } from 'tippy.js'

export interface BubbleMenuPluginProps {
Expand Down
4 changes: 3 additions & 1 deletion packages/extension-floating-menu/package.json
Expand Up @@ -33,9 +33,11 @@
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.212",
"@tiptap/pm": "^2.0.0-beta.212"
"@tiptap/pm": "^2.0.0-beta.212",
"@types/lodash-es": "^4.17.6"
},
"dependencies": {
"lodash-es": "^4.17.21",
"tippy.js": "^6.3.7"
},
"repository": {
Expand Down

0 comments on commit 2d7661c

Please sign in to comment.