Skip to content

[Webpack Plugin] Fix CJS being injected in ESM files#3933

Merged
hediet merged 1 commit into
microsoft:mainfrom
titouanmathis:main
May 2, 2023
Merged

[Webpack Plugin] Fix CJS being injected in ESM files#3933
hediet merged 1 commit into
microsoft:mainfrom
titouanmathis:main

Conversation

@titouanmathis

Copy link
Copy Markdown
Contributor

I replaced the CJS require and module.exports with import and export statements.

This PR should fix #2735.

Tests are ok on my dev environment.

@hediet hediet enabled auto-merge May 2, 2023 12:37
@hediet hediet added this to the May 2023 milestone May 2, 2023
@hediet hediet merged commit 358be7c into microsoft:main May 2, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

monaco-editor/esm/vs/editor/editor.api is transformed into cjs instead of esm any more

3 participants