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

Use this.sourceMap instead of query.sourceMap #25

Merged
merged 1 commit into from Nov 3, 2014

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Oct 9, 2014

Webpack already gives us this.sourceMap, so we should use it.
It will be false if user doesn't emit source maps in config.

Webpack already [gives us this.sourceMap](petehunt#19 (comment)), so we should use it.
It will be `false` if user doesn't emit source maps in config.
@gaearon
Copy link
Contributor Author

gaearon commented Oct 12, 2014

This is important because this flag is Webpack's way of letting loaders know they need to emit source maps. We shouldn't force users to learn about a custom flag (and old users wouldn't look it up anyway).

@gaearon
Copy link
Contributor Author

gaearon commented Nov 2, 2014

Is there a reason this doesn't get merged?

petehunt added a commit that referenced this pull request Nov 3, 2014
Use this.sourceMap instead of query.sourceMap
@petehunt petehunt merged commit 6db8570 into petehunt:master Nov 3, 2014
@petehunt
Copy link
Owner

petehunt commented Nov 3, 2014

@gaearon because i get too much email

@gaearon
Copy link
Contributor Author

gaearon commented Nov 3, 2014

Thank you!

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.

None yet

2 participants