perf: tree-shake dependencies from server (#1647)
This commit is contained in:
parent
357dff2140
commit
6dc38c7d8e
12 changed files with 90 additions and 19 deletions
8
mocks/prosemirror.ts
Normal file
8
mocks/prosemirror.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import proxy from 'unenv/runtime/mock/proxy'
|
||||
|
||||
export const Plugin = proxy
|
||||
export const PluginKey = proxy
|
||||
export const Decoration = proxy
|
||||
export const DecorationSet = proxy
|
||||
|
||||
export { proxy as default }
|
Loading…
Add table
Add a link
Reference in a new issue