bit
bit copied to clipboard
Pipe operator doesn't work
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:
And running big test
result in this error:
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
- 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