wasinger/bundle-asset-provider-bundle

Include assets from bundles into webpack encore builds

dev-master 2018-12-17 16:55 UTC

This package is auto-updated.

Last update: 2024-10-18 05:21:02 UTC


README

A Symfony bundle containing console commands useful for including web assets from bundles into the Webpack Encore build:

  • assets:sources: Loops through all installed bundles. If a bundle provides an assets folder, copies or symlinks this folder to assets/bundles/<bundle-name> in the project root dir.

  • assets:dependencies: Loops through all installed bundles. If a bundle provides a package.json file, reads the "dependencies" section of this file, compares it to the dependencies in the package.json file in the project root dir, and lists missing or incompatible dependencies.

See symfony/webpack-encore#5 (comment)