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

Add cached sources to sourcemap #87

Merged
merged 1 commit into from
Jan 19, 2016

Conversation

xdissent
Copy link
Contributor

Currently only the main, top-level source is added to the sourcemap, resulting in empty maps for any included files. This PR adds the missing sources from the cache. Fixes #56

@singggum3b
Copy link

+1 , this issue is pretty dire, it's rendering source map useless

@singggum3b
Copy link

This PR still having problem with sourcemap of styl module requested outside root. eg: require "kouto-swiss" inside node module still return null sourcemap content

@Cweili
Copy link

Cweili commented Jan 19, 2016

Great! SourceMap works well now!

@Cweili
Copy link

Cweili commented Jan 19, 2016

The sourcemap won't update when the source changed

shama added a commit that referenced this pull request Jan 19, 2016
Add cached sources to sourcemap
@shama shama merged commit beb62d8 into webpack-contrib:master Jan 19, 2016
@indieveed
Copy link

@singggum3b Did you find a solution for sourcemap requested outside root? Experience an issue like #56.

@singggum3b
Copy link

just use stylus directly then load the css with its source file instead.

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

5 participants