Skip to content

Commit

Permalink
Needs further investigation, but this seems like the output is better
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Apr 10, 2022
1 parent 73591d1 commit 2ecc04c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function main(babel: typeof Babel) {
} else if (t.isTSDeclareFunction(declaration)) {
// we don't rewrite this
} else {
path.node.declaration = t.callExpression(setComponentTemplate(path, state), [template, declaration]);
// path.node.declaration = t.callExpression(setComponentTemplate(path, state), [template, declaration]);
}
},
ExportNamedDeclaration(path: NodePath<t.ExportNamedDeclaration>, state: State) {
Expand Down

0 comments on commit 2ecc04c

Please sign in to comment.