-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
I was trying the experimental playwright with your web components implementation, but I got some errors regarding decorators
Error: [path]: Support for the experimental syntax 'decorators' isn't currently enabled ([position]):
> [line] | @customElement(
Add @babel/plugin-proposal-decorators (https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators) to the 'plugins' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-decorators (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators) to the 'plugins' section to enable parsing.
Is there a way to specify a babel plugin in the configuration? Or should this modules do it by default?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request