Skip to content

Commit 4e0b7ad

Browse files
committed
bug #1319 [StimulusBundle] Remove stimulus.asset_mapper.loader_javascript_compiler when no asset-mapper (Jibbarth)
This PR was merged into the 2.x branch. Discussion ---------- [StimulusBundle] Remove stimulus.asset_mapper.loader_javascript_compiler when no asset-mapper | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #1313 | License | MIT The service name was incorrect here. All credits to `@smnandre` who found this gem Commits ------- 1edc2e5 [StimulusBundle] Remove stimulus.asset_mapper.loader_javascript_compiler when no asset-mapper
2 parents dd7d24b + 1edc2e5 commit 4e0b7ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StimulusBundle/src/DependencyInjection/Compiler/RemoveAssetMapperServicesCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function process(ContainerBuilder $container)
2626
if (!$container->hasDefinition('asset_mapper')) {
2727
$container->removeDefinition('stimulus.ux_controllers_twig_runtime');
2828
$container->removeDefinition('stimulus.asset_mapper.controllers_map_generator');
29-
$container->removeDefinition('stimulus.asset_mapper.stimulus_loader_javascript_compiler');
29+
$container->removeDefinition('stimulus.asset_mapper.loader_javascript_compiler');
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)