Skip to content

Commit c2315f7

Browse files
committed
bug #1280 Assets manifest is not necessary with Webpack Encore (GromNaN)
This PR was merged into the main branch. Discussion ---------- Assets manifest is not necessary with Webpack Encore Fix breaking changes introduced by #1278 Asset urls generated in `entrypoints.json` https://github.com/symfony/demo/blob/a7a975e2938b0568b493406ce914ac0866b6dd58/public/build/entrypoints.json#L13 are not meant to be mapped with `manifest.json` https://github.com/symfony/demo/blob/a7a975e2938b0568b493406ce914ac0866b6dd58/public/build/manifest.json#L2 The only place where the twig `asset` function is used, is for a file that is not in the manifest: https://github.com/symfony/demo/blob/a7a975e2938b0568b493406ce914ac0866b6dd58/templates/base.html.twig#L17 Commits ------- 8e9facc Assets manifest is not necessary with Webpack Encore
2 parents 7e1a631 + 8e9facc commit c2315f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

config/packages/assets.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
framework:
2-
assets:
3-
json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'
4-
strict_mode: '%kernel.debug%'
2+
assets: ~

0 commit comments

Comments
 (0)