Closed
Description
Describe the bug
The directory contains two test cases with different configurations:
function Bar() {
const [foo, setFoo] = useState(0);
// @refresh reset
React.useEffect(() => {
});
return <h1>{ foo } < /h1>;
}
The implementation should throw a parsing error instead of generating an output file when encountering < /
.
Input code
Config
Link to the code that reproduces this issue
SWC Info output
No response
Expected behavior
throw parse error
Actual behavior
parse scueess
Version
1.12.1