fix: remove circular references in build-config package (#45057)

This commit is contained in:
Valery Bugakov 2022-12-02 20:09:26 +08:00 committed by GitHub
parent b1a56385e5
commit 53a2ba40f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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), {

View File

@ -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,