mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-19 02:56:26 +03:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user