bit icon indicating copy to clipboard operation
bit copied to clipboard

Pipe operator doesn't work

Open DCosti opened this issue 2 years ago • 0 comments

Describe the bug

I have some components that uses pipe operator which is not yet fully supported but there is a babel plugin that I used in my projects to make this work. I tried to add the plugin in my custom env but doesn't seems to do the work.

When I run bit compile I get this error: image

And running big test result in this error: image

Where should I add this plugin in order to make it work for both cases? I don't know exactly where babel config resides.

Steps to Reproduce

  1. Clone this project https://github.com/osstotalsoft/rocket-ui and run any of the above commands

Specifications

  • Bit version: 0.0.780
  • Workspace type: harmony
  • Node version: 16.14.2
  • npm / yarn version: 8.5.0
  • Platform: windows 10

for harmony workspace

  • relevant env: custom env https://bit.cloud/totalsoft_oss/rocket-ui/envs/my-env

DCosti avatar Jul 06 '22 08:07 DCosti