Open queicherius opened 7 years ago
I committed this pull request, but it would be better to figure out what generates the issue instead of patching it in the end result.
@queicherius thanks for the PR. I would really like to fix the issue also from our side, but I do not understand what is meant by wrong meta data. Do you have a complete sample to reproduce the error?
I would really like to fix the issue also from our side, but I do not understand what is meant by wrong meta data.
The generated branch array is [ 2, null ]
, while the generated meta array is only [ { start: { line: 8, column: 50 }, end: { line: 8, column: 53 } } ]
triggering an error when going through the branch array and accessing the undefined meta element. Not sure why / how it does that, I just logged it when putting in the PR.
Do you have a complete sample to reproduce the error?
Sure, I made a repository for you here. Tried to make it as simple as possible.
@queicherius thanks for your detailed example. I had a look at it and although the sample perfectly reproduces the error, I haven't found a solution until now. Sorry that I am not having a longer time slot to investigate the problem in the next week but I will try to find a solution ASAP.
if
afterwards. When using one of the two, it's working fine.babel-plugin-rewire
, starting from1.0.0-beta-1
up to1.0.0
rewire
is removed from the.babelrc
, so it seems to be an issue with this libraryThis is a minimal reproduction test case, which yields the HTML error.