I have webpack/encore installed on my symfony project.
public/build has been added to gitignore but when I deploy on a PaaS like platform.sh, without this folder, my website design is broken.
Should I remove public/build folder from gitignore ?
Thanks in advance.
Platform.sh is designed to have first-class support for your git workflow. So, I'm sure if you added
.gitignoreit was for a good reason.Wherever your app is defined (
.platform.app.yamlor.platform/applications.yaml) you will want to:rootis properly configured to handle requests made to your app so that request to your website are handled appropriately.With this in place, from your local machine (and after deployment) run
platform sshand check to make sure your public/build files exist.