4 ms·
For built-in syntax parsing, yes - those official plugins just told the parser to enable those specific bits of syntax. Actual plugins for non-standard syntax
by acemarke 5y ago
For built-in syntax parsing, yes - those official plugins just told the parser to enable those specific bits of syntax.
Actual plugins for non-standard syntax were all real AST visitor-based modifications, though.
- mintplant 5y agoI found this out some years ago while investigating how I might write my own Babel plugin for some non-standard syntax. At the time there were no such facilities available, only the hidden built-in parser flags.