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

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

Open
2 tasks done
zx-zx22 opened this issue Sep 12, 2024 · 0 comments
Open
2 tasks done

Comments

@zx-zx22
Copy link

zx-zx22 commented Sep 12, 2024

Reproducible in vscode.dev or in VS Code Desktop?

  • 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

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

1 participant