dillon1000/react

Commit

Make CompilerEntrypoint a little more generic

These are still quite Babel specific, but the interface is slightly more 
generic: CompilerEntrypoint takes a non-Babel specific CompilerPass as an 
argument instead of passing Babel's PluginPass directly. 

In the future we can consider lowering the whole Program into HIR but that 
involves a significant lift in our representation and a small amount of new 
syntax to support (eg import statements), so this PR is the extent of this stack 
for now
Browse files
Changed paths2 files
First-parent comparison
M compiler/forget/src/Babel/BabelPlugin.ts ModifiedM compiler/forget/src/CompilerEntrypoint.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…