monacode
                                
                                
                                
                                    monacode copied to clipboard
                            
                            
                            
                        Can I use monacode as an alternative to monaco-editor?
First a lot thanks for authoring this great package. It's really much easier to use than monaco-editor 🤣
I'm trying to migrate monaco-editor to monacode because I just cannot build up monaco-editor with esbuild. However I met some problems.
- Can I get access to all monaco apis directly? For now I have to do something like 
import { Uri } from 'monacode/src/monaco/editor/editor.main.js', and that's a little bit annoying. - It seems that some actions are missing. eg. editor.action.goToDefinition
 
I wouldn't say you can use it as a drop in replacement, monacode is essentially a fork of monaco-editor with an opinionated build step and thus output. You could dig into the code (and commit history) in this repo though and probably enable or expose the stuff you want!