babel-plugin-transform-pipeline
babel-plugin-transform-pipeline copied to clipboard
Compile pipeline operator to ES5
Hi! I'm having issues with babel transforming the `|>`. After checking your repo and comparing the generated `package-lock.json` for my demo and your tests, found that some of the dependencies...
According to MDN, this can be enabled in Firefox (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Pipeline_operator). Does this plugin have the same semantics as the experimental Firefox option?
Looking at the source of this module, it seems to transform `x |> f` directly into `f(x)`. However, any standardized proposal will likely evaluate `x` first, before `f`.
still this project: