最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Angular stack traces don't show lines per components - Stack Overflow

programmeradmin0浏览0评论

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

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:

What flag should I be working with here?

发布评论

评论列表(0)

  1. 暂无评论