Reputation: 21
In my project, I have to make use of monaco editor library to view the text files. Why this has to be added in build and test of angular.json? Without this, the editor is not rendered properly
Reference: https://www.npmjs.com/package/ngx-monaco-editor-v2
"apps": [
{
"assets": [
{ "glob": "**/*", "input": "node_modules/monaco-editor", "output": "/assets/monaco/" }
],
...
}
...
],
...
}```
Upvotes: 1
Views: 26
Reputation: 57986
The package is referring to the path /assets/monaco/
for using images/icons/scss/js.
/assets/monaco/
- source code search resultsUpvotes: 0