Fix compatibility with Webpack-Encore in bref/symfony-bridge

At the moment the whole `public/build` directory is excluded. 

This means the `entrypoints.json` and `manifest.json` files are also excluded but are required by Symfony to resolve filenames correctly and load Encore entrypoints in Twig.

Without this, people would get a 500 error when deploying on Lambda.
This commit is contained in:
Thibault RICHARD
2021-06-24 11:38:50 +02:00
committed by GitHub
parent 7abbaee9fc
commit 428a85aa99
+2
View File
@@ -43,3 +43,5 @@ package:
# If you want to include files and folders that are part of excluded folders,
# add them at the end
- 'var/cache/prod/**'
- 'public/build/entrypoints.json'
- 'public/build/manifest.json'