Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[optimizeJs] - Issue with closed tags #59

Open
Emiliano-Bucci opened this issue Aug 9, 2024 · 0 comments
Open

[optimizeJs] - Issue with closed tags #59

Emiliano-Bucci opened this issue Aug 9, 2024 · 0 comments

Comments

@Emiliano-Bucci
Copy link

Hi, it seems that when using pandabox.vite in a react app with a closed tag

 pandabox.vite({
  optimizeJs: "auto",
}),

like this:

<Flex h="100px />

I get this error:

The character "}" is not valid inside a JSX element
5  |  export function LottieLoader() {
6  |    return <div className="d_flex w_160px h_160px" id="LOADER">;
7  |  }
   |  ^
8  |  

Unexpected end of file before a closing "div" tag
6  |    return <div className="d_flex w_160px h_160px" id="LOADER">;
7  |  }
8  |  
   |  ^
@Emiliano-Bucci Emiliano-Bucci changed the title Issue with closed tags [optimizeJs] - Issue with closed tags Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant