-
Notifications
You must be signed in to change notification settings - Fork 47
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
$' combination breaks parsing #32
Comments
I have a feeling this is due to the |
@rmp135 you are right, |
If someone is affected by the same or similar issue - i just wrote injectify-loader which has the same api/behaviour, but using |
@vladimir-tikhonov Hey, that’s pretty cool—nice work! I’d kinda been meaning to explore something like that for this module given the ubiquity of babel these days (was not the case as much back when I first wrote |
@plasticine I've written |
@vladimir-tikhonov Heh, fair enough :simple_smile: I suspect the next time I get a chance to do some OSS stuff I’ll probably be looking at going in the same direction in this project anyway, but I can certainly understand that you might want to keep In the meantime, @rmp135 is correct in stating that his PR #31 should resolve the above issue. |
@plasticine I just wanted to state that these projects have many differences, so if I submit a pr it will be a complete rewrite of this package. However, I can definitely do this, if you are ok with that. Moreover, I think that having only one package that does the right thing is much better for the js community. |
@vladimir-tikhonov nah, I would not be opposed to that at all — this project has never really been a very complex idea or implementation, and your implementation is really great. I would love to be able to rule out a whole category of bugs (i.e this one) that come from hacky regexes, by adopting babel to transform code instead (it may also allow for fixing #17 finally!). I think adopting babel for this task is really probably the right move. If you’re willing, I’d love to work on getting your improvements across. |
@plasticine okie dokie, I'll submit a pr in a couple of days |
Hello,
I've noticed that inject-loader cannot correctly process
$'
combination in files.Given the following code:
I've got the following output:
This part is broken:
Any questions - please let me know.
P.s. And many thanks for this package, it's a real life-saver for me 👍
The text was updated successfully, but these errors were encountered: