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

Error with source maps "source.traceSegment is not a function" #404

Closed
CrowdHailer opened this issue Jan 1, 2016 · 2 comments
Closed

Error with source maps "source.traceSegment is not a function" #404

CrowdHailer opened this issue Jan 1, 2016 · 2 comments

Comments

@CrowdHailer
Copy link

I have upgraded from rollup 0.20.5 to 0.23.1 and a previously working configuration is now throwing the following error.

source.traceSegment is not a function

If I don't try and create a source map then I do not get any errors.

@Rich-Harris
Copy link
Contributor

Can you share some details of your setup (or even a repro?) I wonder if it's getting confused about a sourcemap generated by a plugin. Thanks

Rich-Harris added a commit that referenced this issue Jan 3, 2016
fix sourcemap resolution in cases where some moudles are untransformed
@Rich-Harris
Copy link
Contributor

Turns out it happened in cases where module x had transforms applied, but module y didn't. Fixed in 0.24.0.

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