Extender: List all assets explicitly

This commit is contained in:
Franz Liedke 2018-01-21 21:10:05 +01:00
parent b7991afbbb
commit bb92a80585

View File

@ -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')