Today, I decided to streamline my portfolio project by transitioning it from standard HTML to the Vite bundler for easier dependency management. I simply copied and pasted the existing code, making adjustments to the imports since I had been using relative imports previously. Everything seemed to work smoothly except for a strange issue with the lighting effects.
The display on the right shows how the project appears with Vite bundler, while the left exhibits the expected outcome with relative imports. Can anyone spot where I may have gone wrong?
Vite Code: Previous Code: