mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Extender: List all assets explicitly
This commit is contained in:
parent
b7991afbbb
commit
bb92a80585
|
@ -15,7 +15,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/pusher/main'),
|
||||
(new Extend\Assets('admin'))
|
||||
->asset(__DIR__.'/js/admin/dist/extension.js')
|
||||
|
|
Loading…
Reference in New Issue
Block a user