mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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
15 lines
252 B
JavaScript
15 lines
252 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; |