mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
227423d5f6
swc_ecma_ast: - Support `export v from 'foo';` swc_ecma_parser: - Support `export v from 'foo';` swc_ecma_codegen: - Fix codegen of side-effect imports
19 lines
300 B
JavaScript
19 lines
300 B
JavaScript
import React from 'react';
|
|
|
|
function App() {
|
|
const isLoading = true;
|
|
return (
|
|
<div>
|
|
<h1>works </h1>
|
|
{
|
|
isLoading ? (
|
|
<div>loading </div>
|
|
) : (
|
|
<div>naaaaaaaaaaaaffffffffffffffff </div>
|
|
)
|
|
}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default App; |