File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 38
38
use Symfony \Component \AssetMapper \ImportMap \Resolver \JsDelivrEsmResolver ;
39
39
use Symfony \Component \AssetMapper \MapperAwareAssetPackage ;
40
40
use Symfony \Component \AssetMapper \Path \PublicAssetsPathResolver ;
41
- use Symfony \Component \HttpKernel \Event \RequestEvent ;
42
41
43
42
return static function (ContainerConfigurator $ container ) {
44
43
$ container ->services ()
92
91
abstract_arg ('asset public prefix ' ),
93
92
abstract_arg ('extensions map ' ),
94
93
service ('cache.asset_mapper ' ),
94
+ service ('profiler ' )->nullOnInvalid (),
95
95
])
96
- ->tag ('kernel.event_subscriber ' , [ ' event ' => RequestEvent::class] )
96
+ ->tag ('kernel.event_subscriber ' )
97
97
98
98
->set ('asset_mapper.command.compile ' , AssetMapperCompileCommand::class)
99
99
->args ([
You can’t perform that action at this time.
0 commit comments