![javascript - When I run vite preview I get the bundle size of 300KB and when I run vite build it creates a bundle with 900KB - Stack Overflow javascript - When I run vite preview I get the bundle size of 300KB and when I run vite build it creates a bundle with 900KB - Stack Overflow](https://i.stack.imgur.com/PlFNJ.png)
javascript - When I run vite preview I get the bundle size of 300KB and when I run vite build it creates a bundle with 900KB - Stack Overflow
multiple vite bundle import in one page throw:Uncaught SyntaxError: Identifier 'React' has already been declared · Issue #10822 · vitejs/vite · GitHub
![multiple vite bundle import in one page throw:Uncaught SyntaxError: Identifier 'React' has already been declared · Issue #10822 · vitejs/vite · GitHub multiple vite bundle import in one page throw:Uncaught SyntaxError: Identifier 'React' has already been declared · Issue #10822 · vitejs/vite · GitHub](https://user-images.githubusercontent.com/1646883/200463509-e16cb569-268e-4282-8c3c-15db97ca0f85.png)
multiple vite bundle import in one page throw:Uncaught SyntaxError: Identifier 'React' has already been declared · Issue #10822 · vitejs/vite · GitHub
![reactjs - Multiple output in Vite build for React app and separate scripts in project - Stack Overflow reactjs - Multiple output in Vite build for React app and separate scripts in project - Stack Overflow](https://i.stack.imgur.com/5DZN4.png)
reactjs - Multiple output in Vite build for React app and separate scripts in project - Stack Overflow
![multiple vite bundle import in one page throw:Uncaught SyntaxError: Identifier 'React' has already been declared · Issue #10822 · vitejs/vite · GitHub multiple vite bundle import in one page throw:Uncaught SyntaxError: Identifier 'React' has already been declared · Issue #10822 · vitejs/vite · GitHub](https://user-images.githubusercontent.com/1646883/200461127-f6598f1c-2bbd-4a43-9e1f-94fcea6d1a88.png)