Commit c2315f7
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 Encore1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
0 commit comments