mirror of
https://github.com/flarum/framework.git
synced 2025-06-03 14:33:07 +08:00
Extender: List all assets explicitly
This commit is contained in:
@ -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/flags/main'),
|
||||
(new Extend\Assets('admin'))
|
||||
->asset(__DIR__.'/js/admin/dist/extension.js')
|
||||
|
Reference in New Issue
Block a user