A Symfony bundle enabling support for Webpack Manifests.
This adds two things:
- A Twig extension allowing to route directly to versioned assets.
- A Controller serving either the contents of, or, a redirect to the latest version of an asset.
Add the following to your routing configuration:
_webpackManifestBundleRoutes:
resource: "@WebpackManifestBundle/Controller"
type: annotation