Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thread-loader V4.0.4 new loader context utils incompatible with monaco-editor-webpack-plugin V7.1.0 #226

Closed
Jlg1128 opened this issue Sep 24, 2024 · 1 comment

Comments

@Jlg1128
Copy link

Jlg1128 commented Sep 24, 2024

Bug report

  • Operating System: MacOS
  • Node Version: 20
  • NPM Version: 10.7.0
  • webpack Version: 5.93.0
  • thread-loader Version: 4.0.4
  • monaco-editor-webpack-plugin: 7.1.0

Actual Behavior

build Error: this.utils.contextify is not a function
Screenshot 2024-09-24 at 09 56 51

reason:
It's beacuse monaco-editor-webpack-plugin has judgment about this.utils
https://github.com/microsoft/monaco-editor/blob/f6dc0eb8fce67e57f6036f4769d92c1666cdf546/webpack-plugin/src/loaders/include.ts#L23

Expected Behavior

thread-loader is compatible with monaco-editor-webpack-plugin V7.1.0

How Do We Reproduce?

Please paste the results of npx webpack-cli info here, and mention other relevant information

@Jlg1128 Jlg1128 changed the title thread-loader V4.0.4 new utils incompatible with monaco-editor-webpack-plugin V7.1.0 thread-loader V4.0.4 new loader context utils incompatible with monaco-editor-webpack-plugin V7.1.0 Sep 24, 2024
@alexander-akait
Copy link
Member

Close in due - #208, we will fix it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants