Skip to content

Sourcemap should be closed by default in production mode #5638

Closed
@2239559319

Description

@2239559319

What problem does this feature solve?

By default, the map file will be produced after packaging with @vue/cli in production mode, but in my opinion, the devtool sourcemap should be closed by default for safety reasons. If sourcemap is opened other people can also see the source code of my webpage. It is troublesome to manually configure configureWebpack option every time.

What does the proposed API look like?

Sourcemap is closed by default in production mode and no need to manually configure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions