dillon1000/react
Commit
Browse files [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.
Changed paths5 files
First-parent comparisoncompiler/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…