-
Notifications
You must be signed in to change notification settings - Fork 359
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 in array-set when producing source maps. #76
Comments
The source map we are trying to parse only has one source listed, but there is a mapping that refers to a second source (at index 1, presumably supposed to be
|
Oh so maybe the combined-source-map module is using source-map generator incorrectly. This may be related to the latest change to that module. @ben-ng do you have an idea what could be going wrong here? |
Aside: the combine-source-map module can get a lot smaller and dumber once we make progress with issue(s) 16/69 |
@fitzgen Yeah those pieces in the works look interesting. combine-source-map will most likely just have to be a rather simple wrapper at that point. I rolled back the change that caused the problem for now and am waiting for feedback from the author of that PR to see how to proceed. How long do you think until those mentioned changes land? Possibly we should wait with the combine-source-map migration to use this module until then? |
@thlorenz It is fairly low priority on my TODO list; I'm spending 99% of my hack time on new features for firefox's debugger. If you want to take a crack at it, I will provide speedy review of pull requests :) We did end up deciding on an API in issue 16. I am flying back to SF from Paris on Saturday, maybe I can take a crack at it then. |
Somewhat swamped myself here, but for me personally this is not such high priority either. As far as I understand the original change was attempted to fix problems with source-maps of minified code that @ben-ng ran into. |
I've been on a road trip through the midwest, finally got back on the internet today. Yes, this change is very important for my module so i'll fix this one. Thanks for helping with the repro case @thlorenz. |
@ben-ng nice! |
Okay, this issue is definitely in es6ify. I'll take care of it and send a PR now. Thank you for the repro case! |
The problem is, when both rtlcss and autoprefixer are enabled, it works fine with SCSS, but throws with LESS. When the code is too complicated, the `result` object seems to have problem with returning `result.css` member. When the code is comparatively straight-forward, it throws a slightly lenient error. /cc @MohammadYounes
I created a repo to reproduce the issue here, but here is the stack trace, it basically breaks in
./lib/array-set.js
.The text was updated successfully, but these errors were encountered: