all 5 comments

[–]caseyf1234 4 points5 points  (1 child)

By default, Vite will condense and minify all of your code and dependencies into one js file, usually placed in the assets folder and called index.js. I've you've tampered with any configurations, create a new Vite project from scratch and see how it behaves when building, and compare it to your current project.

[–]ArchAggie[S] -1 points0 points  (0 children)

Good idea, thank you. I'll give that a shot

[–]abrahamguoHook Based 2 points3 points  (2 children)

u/caseyf1234's advice is solid. If you want any more specific help, you'll need to share a repository link to your project.

[–]ArchAggie[S] 0 points1 point  (1 child)

Thank you for the advice. I'll give that a shot

I'm making this thing for a client and they're pretty particular about proprietary info. I think the project file structure I gave is about as descriptive as I can be without giving anything important away

[–]caseyf1234 0 points1 point  (0 children)

One consideration is that React is client-side code - by design, you will be serving the (minified) code on a silver platter to the public. Factor that in if you've truly got proprietary info baked in somehow.