RWOverdijk/AssetManager — pull request #28 by pdobrigkeit (2012-09-13 10:04:39+00:00)
Title: Added AliasPathStackResolver

Hey Guys,

nice extension. I was working on something similar, but less elaborate. When trying yours out I needed to be able to have, what I call Alias Paths:

'asset_manager' => array(
'resolver_configs' => array(
'alias' => array(
'js' => array(
'SomeModule' => 'vendor/somemodule',
'jQuery' => 'vendor/jquery',
),
),
),
),

That would allow me to have a path like

resolve to a file in a module that has no further folders, because it is structured differently, and I don't want to call just the plain file in my base public dir.

If this is something of interest for you I could add tests and stuff to this request. Just wanted to gather some feedback from you first.