File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -184,9 +184,9 @@ style).
184
184
You may have to do ` program.comments = null ` for certain compilers.
185
185
186
186
There aren’t many great estree serializers out there that support JSX.
187
- [ recast ] [ ] does a fine job .
188
- Or use [ ` estree-util-build-jsx ` ] [ build-jsx ] to turn JSX into function
189
- calls and then serialize with whatever (astring, escodegen).
187
+ To do that, you can use [ ` estree-util-to-js ` ] [ estree-util-to-js ] .
188
+ Or, use [ ` estree-util-build-jsx ` ] [ build-jsx ] to turn JSX into function
189
+ calls, and then serialize with whatever (astring, escodegen).
190
190
191
191
## Types
192
192
@@ -284,7 +284,7 @@ abide by its terms.
284
284
285
285
[ program ] : https://github.com/estree/estree/blob/master/es5.md#programs
286
286
287
- [ recast ] : https://github.com/benjamn/recast
287
+ [ estree-util-to-js ] : https://github.com/syntax-tree/estree-util-to-js
288
288
289
289
[ mdast-util-mdx ] : https://github.com/syntax-tree/mdast-util-mdx
290
290
You can’t perform that action at this time.
0 commit comments