wasinger / bundle-asset-provider-bundle
Include assets from bundles into webpack encore builds
Installs: 78
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1.3
- composer/semver: ^1.4
- symfony/console: *
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 anassets
folder, copies or symlinks this folder toassets/bundles/<bundle-name>
in the project root dir. -
assets:dependencies
: Loops through all installed bundles. If a bundle provides apackage.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.