Angular stack traces don't show lines per components

Discussão em 'Angular' iniciado por oividiosCaeremos, Abril 3, 2025.

  1. When I log something using console.warn or console.trace or console.error, trace log looks like below;

    [​IMG]

    It used to show a component's ts file and the line of it it belongs to on the right side of click but it's not this general bundle that's created after a save.

    My build config is like this:

    "configurations": {
    "live": {
    "buildOptimizer": true,
    "vendorChunk": true,
    "extractLicenses": false,
    "sourceMap": false,
    "namedChunks": true,
    "outputHashing": "all",
    "optimization": {
    "scripts": true,
    "styles": {
    "minify": false,
    "inlineCritical": false
    },
    "fonts": true
    }
    }
    }


    When I change optimization.scripts to false, it still doesn't do much:

    [​IMG]

    What flag should I be working with here?

    Continue reading...

Compartilhe esta Página