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

Webpack compilation warning in 0.29.0 with DOMPurify #109

Closed
jaywcjlove opened this issue Oct 9, 2021 · 0 comments
Closed

Webpack compilation warning in 0.29.0 with DOMPurify #109

jaywcjlove opened this issue Oct 9, 2021 · 0 comments

Comments

@jaywcjlove
Copy link
Member

monaco-editor@0.29.0
monaco-editor-webpack-plugin@4.2.0 
Creating an optimized production build...
Failed to compile.

Cannot find module 'vs/basic-languages/flow9/flow9.contribution'
Require stack:
- /home/runner/work/react-monacoeditor/react-monacoeditor/node_modules/monaco-editor-webpack-plugin/out/index.js
- /home/runner/work/react-monacoeditor/react-monacoeditor/.kktrc.ts
- /home/runner/work/react-monacoeditor/react-monacoeditor/node_modules/kkt/lib/utils/loaderConf.js
- /home/runner/work/react-monacoeditor/react-monacoeditor/node_modules/kkt/lib/overrides/config.js
- /home/runner/work/react-monacoeditor/react-monacoeditor/node_modules/kkt/lib/scripts/build.js
- /home/runner/work/react-monacoeditor/react-monacoeditor/node_modules/kkt/lib/bin/kkt.js
Creating an optimized production build...
Failed to compile.

./node_modules/monaco-editor/esm/vs/base/browser/markdownRenderer.js
Attempted import error: 'addHook' is not exported from './dompurify/dompurify.js' (imported as 'dompurify').

microsoft/monaco-editor#2691

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