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

change sourcemap quality at production #2136

Closed
wants to merge 2 commits into from

Conversation

Sn005
Copy link

@Sn005 Sn005 commented Jun 19, 2019

Current sourcemp state is sourcemap at production.
And TerserPlugin's sourceMap option is true.
But soucemap is not necessary at production.
More to say, an Unspecified number of people see development code by soucemap at sourcemap.
So, If the Environment is production, soucemap is good to be hidden.

@sharang-d
Copy link
Contributor

@Sn005 Having sourcemaps in production is a decision made by DHH.
Read here: #769 (comment) (and the whole thread).

@jakeNiemiec
Copy link
Member

As @sharang-d said. Sorry about that.

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

Successfully merging this pull request may close these issues.

None yet

3 participants