I was asking me the same question and after some research here is what I've found :
It's an article wrote by Chris Coyier, published Mar 1, 2019.
In my opinion this article is the answer to this question.
So,
1 - It might help you track down bugs in production more easily 2 - It helps other people learn from your website more easily
1 - Sourcemaps require compilation time 2 - It allows people to "steal" your code
You can read more
here 👉🏿 css-tricks.com/should-i-use-source...
here 👉🏿 m.signalvnoise.com/paying-tribute-...
here 👉🏿 medium.com/@sujankanwar/enable-sou...
and here 👉🏿 sourcemaps.info/spec.html
Happy coding !
🖖🏿
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I was asking me the same question and after some research here is what I've found :
It's an article wrote by Chris Coyier, published Mar 1, 2019.
In my opinion this article is the answer to this question.
So,
Why people are agree to ship source maps to production ?
1 - It might help you track down bugs in production more easily
2 - It helps other people learn from your website more easily
Why people are not agree to ship source maps to production ?
1 - Sourcemaps require compilation time
2 - It allows people to "steal" your code
You can read more
here 👉🏿 css-tricks.com/should-i-use-source...
here 👉🏿 m.signalvnoise.com/paying-tribute-...
here 👉🏿 medium.com/@sujankanwar/enable-sou...
and here 👉🏿 sourcemaps.info/spec.html
Happy coding !
🖖🏿