mirror of
https://github.com/flarum/framework.git
synced 2025-03-28 18:25:14 +08:00
Extender: List all assets explicitly
This commit is contained in:
parent
918ca2201d
commit
85fa190f59
@ -16,7 +16,8 @@ use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
return [
|
||||
(new Extend\Assets('forum'))
|
||||
->defaultAssets(__DIR__)
|
||||
->asset(__DIR__.'/js/forum/dist/extension.js')
|
||||
->asset(__DIR__.'/less/forum/extension.less')
|
||||
->bootstrapper('flarum/lock/main'),
|
||||
(new Extend\Assets('admin'))
|
||||
->asset(__DIR__.'/js/admin/dist/extension.js')
|
||||
|
Loading…
x
Reference in New Issue
Block a user