2017-09-26 05:24:32 +03:00
|
|
|
# (REQUIRED) The location of the pack file inside `pack_directory`.
|
2017-11-18 05:11:18 +02:00
|
|
|
pack: index.js
|
2017-09-26 05:24:32 +03:00
|
|
|
|
|
|
|
# (OPTIONAL) The directory which contains the pack file.
|
2017-11-17 07:35:25 +02:00
|
|
|
# Defaults to the theme directory (`app/javascript/themes/[theme]`),
|
|
|
|
# but in the case of the vanilla Mastodon theme the pack file is
|
|
|
|
# somewhere else.
|
2017-11-18 05:11:18 +02:00
|
|
|
# pack_directory: app/javascript/packs
|
2017-11-17 07:35:25 +02: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:
|
2017-11-18 05:11:18 +02:00
|
|
|
- themes/glitch/async/getting_started
|
|
|
|
- themes/glitch/async/compose
|
|
|
|
- themes/glitch/async/home_timeline
|
|
|
|
- themes/glitch/async/notifications
|