monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

[Bug] react18 配置 monaco-editor-webpack-plugin后, 执行pnpm build 一直pending

Open zx-zx22 opened this issue 1 year ago • 1 comments

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?

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

zx-zx22 avatar Sep 12 '24 03:09 zx-zx22

请问解决了吗?我也出现相同问题了

zp1112 avatar Apr 11 '25 05:04 zp1112