Skip to content

Inline SourceMap Option #18975

@infacto

Description

@infacto

🚀 Feature request

Related issue: #13543

Command

  • build
  • serve

Description

Please consider a inline source map option again. It's just one more option. It's easy to implement in the Angular webpack config. It's just one attribute. See docs.

Describe the solution you'd like

I suggest option sourceMapType or a new value.
Why not? Just add devtool: 'inline-source-map' to the webpack.config.js if this option is set.

Describe alternatives you've considered

I don't want additional dependencies, plugins or hacks. Just an official option in the build CLI. Please 🙏
Btw. ngx-build-plus does not work. I don't want to rely on these 3rd party libs. Another risky build breaker.
It's really just a minor change in Angular CLI, or not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions