bluetel-solutions / webpack-manifest-bundle
Webpack Manifest support
Installs: 21 271
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 11
Forks: 1
Open Issues: 2
Requires
- php: ^5.3.2 || >=7.0
- symfony/framework-bundle: ^2.7|^3.0
- symfony/twig-bundle: ^2.3|^3.0
- twig/twig: ^1.27|^2.0
This package is auto-updated.
Last update: 2024-11-07 18:43:01 UTC
README
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.
Controller Support:
Add the following to your routing configuration:
_webpackManifestBundleRoutes:
resource: "@WebpackManifestBundle/Controller"
type: annotation