Why do add assets of `ngx-monaco-editor-v2` in angular.json file

Discussão em 'Angular' iniciado por Ahalya, Fevereiro 20, 2025.

  1. Ahalya

    Ahalya Guest

    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/" }
    ],
    ...
    }
    ...
    ],
    ...
    }```

    Continue reading...

Compartilhe esta Página