mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:31:54 +00:00
fix: remove circular references in build-config package (#45057)
This commit is contained in:
parent
b1a56385e5
commit
53a2ba40f4
@ -6,9 +6,8 @@ import { EditorFeature, featuresArr } from 'monaco-editor-webpack-plugin/out/fea
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { EditorLanguage, languagesArr } from 'monaco-editor-webpack-plugin/out/languages'
|
||||
|
||||
import { MONACO_LANGUAGES_AND_FEATURES } from '@sourcegraph/build-config'
|
||||
|
||||
import { ROOT_PATH } from '../paths'
|
||||
import { MONACO_LANGUAGES_AND_FEATURES } from '../webpack/monaco-editor'
|
||||
|
||||
const monacoModulePath = (modulePath: string): string =>
|
||||
require.resolve(path.join('monaco-editor/esm', modulePath), {
|
||||
|
||||
@ -2,7 +2,7 @@ import path from 'path'
|
||||
|
||||
import * as esbuild from 'esbuild'
|
||||
|
||||
import { packageResolutionPlugin, RXJS_RESOLUTIONS } from '@sourcegraph/build-config'
|
||||
import { packageResolutionPlugin, RXJS_RESOLUTIONS } from './packageResolutionPlugin'
|
||||
|
||||
async function buildWorker(
|
||||
workerPath: string,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user