Level 51
You build the files after you push to production, or you remove it from gitignore and build it before you push.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How vite is supposed to work in production if public/build folder is gitignored?
You build the files after you push to production, or you remove it from gitignore and build it before you push.
Please or to participate in this conversation.