babel-plugin-parameter-decorator icon indicating copy to clipboard operation
babel-plugin-parameter-decorator copied to clipboard

Plugin 2.0 rewrite

Open WarnerHooh opened this issue 3 years ago • 0 comments

Better solution for babel parameter traverse.

We had to deal with various different AST nodes after transpiled by babel presets, even some information were missing like static/private, so we are not able to fix the bug for static methods in the old implementation. The background is babel-presets are always executed before our customized plugin when traversing deeper than ClassExpression.

Now it's much easier to transform parameter decorator with a common way and easier for bug fix.

WarnerHooh avatar Jul 26 '21 10:07 WarnerHooh