EditorWorker from 'https://esm.sh/monaco-editor/esm/vs/editor/editor.worker.js?worker';

      globalThis.MonacoEnvironment = {
        getWorker(_workerId, label) {
          console.info('MonacoEnvironment.getWorker', { label });
          switch (label) {
            case 'json':
              return createJSONWorker();
            case 'graphql':
              return createGraphQLWorker();
          }
          return createEditorWorker();
        },
      };

      const fetcher = createGraphiQLFetcher