-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fixes conditional chaining operator issues for webpack 4 users #85
Conversation
Thanks Gerardo, looks good. Three small remarks:
|
Hey Jos, yes I will resolve those conflicts. I used
So I might be wrong but I think this makes babel work on the bundled file instead of the src files. I can change it to |
Right now the rollup config is only used to generate this single bundled file. The original src files should indeed not be touched, but would rollup really do that otherwise? I would have to do some digging to on the behavior of rollup, I'm not an expert 😅 . Most important is that the outputted bundle works, is transpiled, and that the source map works. |
To be honest I haven't tested the source maps I will set a breakpoint and see if they work. I will also compare using |
Hey @josdejong I fixed the conflicts. I'm still not 100% sure that my change does not affect the sourcemaps and I'm having trobule testing those can you or someone please help me assert that the sourcemaps are functional? Thanks in advance. I've also switched to exact version numbers in the |
Thanks for the updates. I tried out with About the source maps: I just noticed that these are broken since setting up typescript (see #19 (comment)), so there is work to be done on that anyway, and this PR is not introducing a regression in that regard. Will merge your PR now |
Oh I forgot to mention that I've also tried With regards to the sourcemaps thanks for confirming that they weren't working in the first place, I wanted to make sure it wasn't my change that break them. Thanks for merging the PR Jos! 🥳 |
😂 yeah well I bumped into the same issue I guess. I've now published your fix in |
Hey there this fixes issue #38.
I need this for my project, hope it also helps folks out there.