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

Map file for minified js version does not work correctly #2206

Closed
esamo opened this issue Feb 27, 2019 · 2 comments
Closed

Map file for minified js version does not work correctly #2206

esamo opened this issue Feb 27, 2019 · 2 comments

Comments

@esamo
Copy link

esamo commented Feb 27, 2019

Due to this issue #2203, I had to use bootstrap-select.js file directly, as with the minified version and map file in use, Chrome was showing wrong line in the error stack trace.

Screenshots showing wrong mapping can be found below.

image 1
image

While using the full js directly, proper error line was displayed:

image 2


Bootstrap-select v1.13.3
Chrome v72.0.3626.119

@caseyjhol
Copy link
Member

Released in v1.13.6!

@esamo
Copy link
Author

esamo commented Mar 13, 2019

Guys this is still broken in v1.13.6 and possibly v1.13.7 too.
Instead of proper line as here #2231 , minified version with map points to line 3054 which translates to empty file upon click.

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