Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sourcemap should be closed by default in production mode #5638

Closed
2239559319 opened this issue Jul 1, 2020 · 1 comment
Closed

Sourcemap should be closed by default in production mode #5638

2239559319 opened this issue Jul 1, 2020 · 1 comment

Comments

@2239559319
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants