You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to build a simple editor on top of monaco-editor. As a proof-of-concept, I just want to write some code directly in HTML to see if things can work. However, I got the error when I built the project, so I compared my code with the official sample https://github.com/microsoft/monaco-editor/tree/main/samples/browser-esm-parcel . It turned out that the only difference was they imported the monaco editor in index.js.
This seems related to #8294 , but that one is not actually solved.
🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
package.json
🤔 Expected Behavior
Parcel should be able to produce a bundle without errors.
😯 Current Behavior
💁 Possible Solution
🔦 Context
I was trying to build a simple editor on top of monaco-editor. As a proof-of-concept, I just want to write some code directly in HTML to see if things can work. However, I got the error when I built the project, so I compared my code with the official sample https://github.com/microsoft/monaco-editor/tree/main/samples/browser-esm-parcel . It turned out that the only difference was they imported the monaco editor in
index.js
.This seems related to #8294 , but that one is not actually solved.
💻 Code Sample
src/index.html
src/index.js
🌍 Your Environment
The text was updated successfully, but these errors were encountered: