Skip to content

wasinger/bundle-asset-provider-bundle

Repository files navigation

WasingerBundleAssetProviderBundle

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)

About

Include assets from bundles into webpack encore builds

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages