From 7d6f7dce772952b99f6296dc45dba8faa6464e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Mon, 26 Aug 2024 08:39:05 +0200 Subject: [PATCH] fix: update reference to renamed module --- rollup/rollup.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rollup/rollup.config.ts b/rollup/rollup.config.ts index 7f656429..dc02565f 100644 --- a/rollup/rollup.config.ts +++ b/rollup/rollup.config.ts @@ -86,7 +86,7 @@ const EDITOR_API_EXPOSE_MODULES = [ 'vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution', 'vs/editor/contrib/format/browser/formatActions', 'vs/editor/contrib/bracketMatching/browser/bracketMatching', - 'vs/editor/contrib/hover/browser/hover', + 'vs/editor/contrib/hover/browser/hoverController', 'vs/editor/browser/coreCommands', 'vs/editor/contrib/clipboard/browser/clipboard', 'vs/editor/contrib/cursorUndo/browser/cursorUndo', @@ -974,6 +974,8 @@ export default (args: Record): rollup.RollupOptions[] => { type: 'asset' }) for (const modulePath of EDITOR_API_EXPOSE_MODULES) { + // make sure file exists + fs.statSync(nodePath.resolve(VSCODE_SRC_DIR, `${modulePath}.js`)) this.emitFile({ fileName: `esm/${modulePath}.js`, needsCodeReference: false,