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

module.originalSourceMap is missing on rebuild. #1336

Closed
krisselden opened this issue Mar 14, 2017 · 1 comment
Closed

module.originalSourceMap is missing on rebuild. #1336

krisselden opened this issue Mar 14, 2017 · 1 comment

Comments

@krisselden
Copy link
Contributor

If options.cache is set with the last bundle and a plugin load returns a { code, map } then module.originalSourceMap is missing even though the load hooks rerun and still return a { code, map }

I tracked this down to Module.prototype.toJSON doesn't output the originalSourceMap which is a simple fix but I need to write a test and can't get to it right this moment.

@Rich-Harris
Copy link
Contributor

Thanks! Released 0.41.6 with the fix

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