dillon1000/react
Commit
Browse files Specify sourceType "module" in hir-test and playground
This was preventing the playground and fixture tests from being able to compile an ExportDefaultDeclaration
Changed paths10 files
First-parent comparisoncompiler/forget/packages/playground/components/Editor/Output.tsx ModifiedM compiler/forget/src/Babel/RunReactForgetBabelPlugin.ts ModifiedM compiler/forget/src/__tests__/fixtures/hir/conditional-break.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/conditional-break.js ModifiedM compiler/forget/src/__tests__/fixtures/hir/conditional-on-mutable.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/conditional-on-mutable.js ModifiedM compiler/forget/src/__tests__/fixtures/hir/error.todo-kitchensink.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/error.todo-kitchensink.js ModifiedM compiler/forget/src/__tests__/fixtures/hir/simple.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/simple.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…