Skip to content

Is there a way to specify which source maps to create with production build? #2533

@billdwhite

Description

@billdwhite

Since there is no access to the webpack.config.js (and it's devtool setting) for angular-cli, is there any way to control which type of sourcemaps are generated in the production build? I want the production build and compression, etc but I want usable TS sources as well so I can troubleshoot the code once it is deployed. This that possible?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions