Skip to content

Commit

Permalink
Merge pull request #493 from CodinGame/fix-renamed-module
Browse files Browse the repository at this point in the history
Update reference to renamed module
  • Loading branch information
CGNonofr authored Aug 26, 2024
2 parents ea9dde1 + 7d6f7dc commit c61f3e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rollup/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -974,6 +974,8 @@ export default (args: Record<string, string>): 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,
Expand Down

1 comment on commit c61f3e9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.