There are two common ways for monaco-editor integration:
- Integrate the AMD version
- Integrate the ESM version
Since that angular-cli uses webpack under the hood seems that i should use ESM integration, but all plugins (angular wrappers for monaco) that i found use AMD intergration. At the same time i couldn't integrate ESM bundles due the runtime errors. I'm so confused. Which one way should I use for app with angular-cli app (ng v13)? And what's the main difference between two approaches? Thank's in advance.