From: Raphaƫl Gertz Date: Thu, 28 Nov 2019 20:24:14 +0000 (+0100) Subject: Set the pack package in packages listing class X-Git-Tag: 0.1.1~58 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/75387dd681d712476a09d05e624d50caa3ff96a9?hp=5155d33c3b53b35956b9ffe05476173aba5d79d0 Set the pack package in packages listing class Fix framework.asset.packages naming to match package name --- diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml index 45ce512..92abe3f 100644 --- a/Resources/config/packages/rapsys_air.yaml +++ b/Resources/config/packages/rapsys_air.yaml @@ -186,7 +186,7 @@ security: # version_format: '%%s?v=%%s' # # packages: -# pack_package: +# pack: # base_path: '/bundles/%%s' #Service configuration @@ -218,12 +218,10 @@ services: #Register air fixtures Rapsys\AirBundle\DataFixtures\AirFixtures: tags: [ 'doctrine.fixture.orm' ] - #Replace default package - #XXX: set base path to /bundles/ and disable versioning - assets._default_package: - class: 'Rapsys\PackBundle\Asset\PackPackage' - arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ] -# arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ] + #Replace assets packages + assets.packages: + class: Symfony\Component\Asset\Packages + arguments: [ '@assets.pack_package' ] # #Set version strategy # assets.static_version_strategy: # class: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy