monaco-editor
monaco-editor copied to clipboard
[Bug] react18 配置 monaco-editor-webpack-plugin后, 执行pnpm build 一直pending
Reproducible in vscode.dev or in VS Code Desktop?
- [X] Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- [X] Not reproducible in the monaco editor playground
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
No response
Actual (Problematic) Behavior
项目使用 react18 webpack: 5.80.0 , @monaco-editor/react: 4.6.0 , monaco-editor:0.50.0,monaco-editor-webpack-plugin:7.1.0。项目可以正常启动运行,但是执行pnpm build 就一直pending状态。 new MonacoWebpackPlugin({ languages: ['json', 'javascript', 'typescript', 'sql', 'python'], }), 如果取消plugins中的 MonacoWebpackPlugin配置,项目就可以正常打包
Expected Behavior
期望可以正常打包,目前是既不报错,也不停止,一直pending
Additional Context
No response
请问解决了吗?我也出现相同问题了