babel-plugin-transform-pipeline icon indicating copy to clipboard operation
babel-plugin-transform-pipeline copied to clipboard

Compile pipeline operator to ES5

Results 6 babel-plugin-transform-pipeline issues
Sort by recently updated
recently updated
newest added

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...

bug
help wanted

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`.