linaria
linaria copied to clipboard
Can V4 remove the configuration of babelOptions when using language features?
Describe the enhancement
The V3 doesn't require the babelOptions when using Vite with outbox TS language. V4 requires specifying the babel options, but I'm using Typescript decorators, which are different from the Babel decorators. I can't configure the decorator's features through babel options.
See this issue for details: https://github.com/babel/babel/issues/8864
Is there a possible enhancement for not configuring the babel options just like the V3 does?
Motivation
Using full featured Typescript decorators.
Possible implementations
Related Issues
v4 & v5 use Babel heavily as a AST parser, if support for your language features can't be configured through Babel - I don't think that we can do much. I will let @Anber to chime in, but as this point I don't think that it's a high priority area.