Skip to content

A Symfony bundle introducing webpack manifest support for Symfony 3.3

Notifications You must be signed in to change notification settings

bluetel/webpack-manifest-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Webpack Manifest Bundle

A Symfony bundle enabling support for Webpack Manifests.

This adds two things:

  1. A Twig extension allowing to route directly to versioned assets.
  2. 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