dillon1000/react

Commit

[babel] Fix export ordering

Turns out hoisting doesn't work with export declarations, so fix ordering such 
that the export always comes after the synthesized test declaration.
Browse files
Changed paths5 files
First-parent comparison
M compiler/forget/src/Babel/BabelPlugin.ts ModifiedM compiler/forget/src/__tests__/fixtures/hir/gating-test-export-default-function.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/gating-test-export-function-and-default.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/gating-test-export-function.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/gating-test.expect.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…