-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
404 ...foo.js.map not found #1003
Comments
Which browser are you getting this in? |
Sorry, that is in Safari Version 9.0 (11601.1.43) |
Yes, it seems it is due to this line in Babel: var mapFileCommentRx =
// //# sourceMappingURL=foo.js.map
/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/mg Which is being detected not as a regex but as a sourceURL comment in Safari. It's a Babel thing / Safari bug. It may be worth mentioning on Babel's issue queue if they don't already know about it. |
Running jspm@beta with an app with two files:
1(main.js) import './test';
2(test.js) console.log('here');
I don't notice this in Chrome, and everything else works fine, but it might be confusing for new adopters of jspm.
The text was updated successfully, but these errors were encountered: