mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 09:25:29 +08:00
docs: fix demos resolution of y-prosemirror
This commit is contained in:
parent
fef96a04bb
commit
df9f6967c2
@ -28,6 +28,5 @@ tippy.js
|
|||||||
uuid
|
uuid
|
||||||
y-webrtc
|
y-webrtc
|
||||||
yjs
|
yjs
|
||||||
y-prosemirror
|
|
||||||
@hocuspocus/provider
|
@hocuspocus/provider
|
||||||
@lifeomic/attempt
|
@lifeomic/attempt
|
||||||
|
@ -21,6 +21,10 @@ const getPackageDependencies = () => {
|
|||||||
find: 'yjs',
|
find: 'yjs',
|
||||||
replacement: resolve('../node_modules/yjs/src/index.js'),
|
replacement: resolve('../node_modules/yjs/src/index.js'),
|
||||||
})
|
})
|
||||||
|
paths.push({
|
||||||
|
find: 'y-prosemirror',
|
||||||
|
replacement: resolve('./node_modules/y-prosemirror/src/y-prosemirror.js'),
|
||||||
|
})
|
||||||
|
|
||||||
fg.sync('../packages/*', { onlyDirectories: true })
|
fg.sync('../packages/*', { onlyDirectories: true })
|
||||||
.map(name => name.replace('../packages/', ''))
|
.map(name => name.replace('../packages/', ''))
|
||||||
|
Loading…
Reference in New Issue
Block a user