2017-11-18 18:12:52 -05:00
|
|
|
# (REQUIRED) The location of the pack files inside `pack_directory`.
|
|
|
|
pack:
|
|
|
|
about: about.js
|
|
|
|
admin: null
|
|
|
|
common: common.js
|
|
|
|
embed: null
|
|
|
|
home: application.js
|
|
|
|
public: public.js
|
|
|
|
settings: null
|
|
|
|
share: share.js
|
2017-09-25 22:24:32 -04:00
|
|
|
|
2017-11-18 18:12:52 -05:00
|
|
|
# (OPTIONAL) The directory which contains the pack files.
|
2017-11-17 00:35:25 -05:00
|
|
|
# Defaults to the theme directory (`app/javascript/themes/[theme]`),
|
2017-11-18 18:12:52 -05:00
|
|
|
# but in the case of the vanilla Mastodon theme the pack files are
|
2017-11-17 00:35:25 -05:00
|
|
|
# somewhere else.
|
2017-09-25 22:24:32 -04:00
|
|
|
pack_directory: app/javascript/packs
|
2017-11-17 00:35:25 -05:00
|
|
|
|
|
|
|
# (OPTIONAL) Additional javascript resources to preload, for use with
|
|
|
|
# lazy-loaded components. It is **STRONGLY RECOMMENDED** that you
|
|
|
|
# derive these pathnames from `themes/[your-theme]` to ensure that
|
|
|
|
# they stay unique. (Of course, vanilla doesn't do this ^^;;)
|
|
|
|
preload:
|
|
|
|
- features/getting_started
|
|
|
|
- features/compose
|
|
|
|
- features/home_timeline
|
|
|
|
- features/notifications
|