bluetel-solutions/webpack-manifest-bundle

Webpack Manifest support

0.9.1 2019-04-09 13:04 UTC

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:

  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