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-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/9c1dd15ddb84f8325f223e4354a9e1c85dc4c822 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