Skip to content

fix source map in Chrome #17

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ironsweet
Copy link

I'm using the latest combination:
react: 0.14.3
requirejs: 2.1.22
requirejs-react-jsx: 0.15.0
requirejs-text: 2.0.14
requirejs-babel: 0.0.8 (babel is 5.8.22)

And source map doesn't work in Chrome but works in Safari instead. I switched to official babel 6 code and found that its options, filename, also serves as source map filename, which is not mentioned in the official guide. So I added a line to fix the issue.

Please have a check. And good works, btw.

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

Successfully merging this pull request may close these issues.

1 participant