WebComponent Properties - Support for the experimental syntax 'decorators-legacy' isn't currently enabled
I am trying to pass an attribute into the WC generated by Direflow like <awesome-component componentTitle="New Title"></awesome-component>, according to these instructions:
https://direflow.io/properties
My root component is a class component, so I'm trying to use the @DireflowConfiguration decorator. npm run babel-plugin-transform-decorators-legacy --dev fails because there is no such script. I installed babel-plugin-transform-decorators-legacy with --save-dev, added "experimentalDecorators": true and "emitDecoratorMetadata": true to tsconfig.json, and added
"babel": {
"plugins": [
"transform-decorators-legacy",
"transform-class-properties"
]
}
to package.json, after which compilation failed with the error in the title.
My root component is in .jsx (I have "allowJs": true in tsconfig.json, if that matters).
Hi @Transfusion Thanks for creating this issue.
We will look into this shortly.