diff --git a/config/services.php b/config/services.php index 213c580..ef9b9be 100644 --- a/config/services.php +++ b/config/services.php @@ -43,7 +43,7 @@ ->alias(MinifierInterface::class, 'sensiolabs_minify.minifier') - ->set('.sensiolabs_minify.asset_mapper.compiler', MinifierCompiler::class) + ->set('sensiolabs_minify.asset_mapper.compiler', MinifierCompiler::class) ->args([service('sensiolabs_minify.minifier')]) ->tag('asset_mapper.compiler', ['priority' => -1024]) diff --git a/src/SensiolabsMinifyBundle.php b/src/SensiolabsMinifyBundle.php index b66392c..a666613 100644 --- a/src/SensiolabsMinifyBundle.php +++ b/src/SensiolabsMinifyBundle.php @@ -43,7 +43,7 @@ public function loadExtension(array $config, ContainerConfigurator $container, C ->get('.sensiolabs_minify.minifier.minify_factory') ->arg(0, $config['minify']['local_binary']) - ->get('.sensiolabs_minify.asset_mapper.compiler') + ->get('sensiolabs_minify.asset_mapper.compiler') ->arg(1, array_keys(array_filter($config['asset_mapper']['types']), boolval(...))) ->arg(2, $config['asset_mapper']['ignore_paths']) ->arg(3, $config['asset_mapper']['ignore_vendor']) @@ -51,7 +51,7 @@ public function loadExtension(array $config, ContainerConfigurator $container, C if (!$config['asset_mapper']['enabled']) { $container->services() - ->remove('.sensiolabs_minify.asset_mapper.compiler') + ->remove('sensiolabs_minify.asset_mapper.compiler') ; }