mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Android,Desktop: Plugin API: Fix unable to require @codemirror/search
(#10205)
This commit is contained in:
parent
c4aa18a63e
commit
c1ae449ce2
@ -1,6 +1,7 @@
|
||||
|
||||
import * as codeMirrorView from '@codemirror/view';
|
||||
import * as codeMirrorState from '@codemirror/state';
|
||||
import * as codeMirrorSearch from '@codemirror/search';
|
||||
import * as codeMirrorLanguage from '@codemirror/language';
|
||||
import * as codeMirrorAutocomplete from '@codemirror/autocomplete';
|
||||
import * as codeMirrorCommands from '@codemirror/commands';
|
||||
@ -21,6 +22,7 @@ import * as lezerMarkdown from '@lezer/markdown';
|
||||
const libraryNameToPackage: Record<string, any> = {
|
||||
'@codemirror/view': codeMirrorView,
|
||||
'@codemirror/state': codeMirrorState,
|
||||
'@codemirror/search': codeMirrorSearch,
|
||||
'@codemirror/language': codeMirrorLanguage,
|
||||
'@codemirror/autocomplete': codeMirrorAutocomplete,
|
||||
'@codemirror/commands': codeMirrorCommands,
|
||||
|
@ -224,6 +224,7 @@ const pluginConfig = { ...baseConfig, entry: './src/index.ts',
|
||||
const externalContentScriptLibraries = [
|
||||
'@codemirror/view',
|
||||
'@codemirror/state',
|
||||
'@codemirror/search',
|
||||
'@codemirror/language',
|
||||
'@codemirror/autocomplete',
|
||||
'@codemirror/commands',
|
||||
|
Loading…
Reference in New Issue
Block a user