-
Notifications
You must be signed in to change notification settings - Fork 3k
Create map file in realese #2378
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
Comments
You should use the non-minified file for debugging. |
No, I means when debugging need in production. In this case i cann't change code. |
Why are you debugging in production? |
When developing the software, you are not protected from errors, and sometimes it is impossible to reproduce the error on the test stand because of the difference in data on production. |
I'm not opposed to it, if someone wants to submit a PR. |
Because including the source mapping in min.js adds to the file size and the point of minimizing is to minimize the file size so it is served as fast as possible. You should probably have a staging/dev/test environment that you can duplicate the data to or reproduce in so you can debug safely there. If not, perhaps its time to look into increasing your dev ops so you can have these environments. Also you can debug in Chrome. Click the |
Maps are typically served as separate files. |
Please, create *.map file in realese for debugging in browser.
The text was updated successfully, but these errors were encountered: