@@ -52,7 +52,14 @@ const EDITOR_API_EXPOSE_MODULES = [
5252 'vs/editor/contrib/clipboard/browser/clipboard' ,
5353 'vs/editor/contrib/cursorUndo/browser/cursorUndo' ,
5454 'vs/editor/contrib/contextmenu/browser/contextmenu' ,
55- 'vs/editor/contrib/find/browser/findController'
55+ 'vs/editor/contrib/find/browser/findController' ,
56+
57+ // GraphiQL
58+ 'vs/base/common/uri' ,
59+ 'vs/editor/common/services/editorBaseApi' ,
60+ 'vs/editor/common/standalone/standaloneEnums' ,
61+ 'vs/editor/browser/controller/mouseTarget' ,
62+ 'vs/editor/common/core/range' ,
5663]
5764
5865const ALLOWED_MAIN_DEPENDENCIES = new Set ( [
@@ -317,6 +324,12 @@ ${code}`
317324 source : `export * from '${ MAIN_PACKAGE_NAME } /workers/editor.worker'` ,
318325 type : 'asset'
319326 } )
327+ this . emitFile ( {
328+ fileName : 'esm/vs/editor/edcore.main.js' ,
329+ needsCodeReference : false ,
330+ source : `export * from './editor.api.js';` ,
331+ type : 'asset'
332+ } )
320333 }
321334 }
322335 ]
@@ -459,6 +472,7 @@ ${code}`
459472 [
460473 'vs/editor/editor.api' ,
461474 'vs/editor/editor.worker' ,
475+ 'vs/editor/edcore.main' ,
462476 ...EDITOR_API_EXPOSE_MODULES
463477 ] . flatMap ( ( module ) => {
464478 return Object . entries ( {
0 commit comments