-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
Feature Request
- I would like to work on this feature!
Is your feature request related to a problem? Please describe.
I am implementing a tool to transform an expression using parser.parseExpression, traverse, types.X and generate(exp). This tool should be directly used on the web however @babel/standalone doesn't export these toolings.
Describe the solution you'd like
Directly export babel tooling in @babel/standalone(and @babel/core, since @babel/standalone just imports from it).
Describe alternatives you've considered
I tried to use babel.transform from @babel/standalone. But an expression will be treated as a statement by babel or trigger a parsing error(like { a, b: 3, ...obj }).
gluck
Metadata
Metadata
Assignees
Labels
i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue