commit
87c1f91505
@ -1,9 +1,18 @@
|
||||
# (REQUIRED) Name must be unique across all installed themes.
|
||||
name: default
|
||||
|
||||
# (REQUIRED) The location of the pack file inside `pack_directory`.
|
||||
pack: application.js
|
||||
|
||||
# (OPTIONAL) The directory which contains the pack file.
|
||||
# Defaults to the theme directory (`app/javascript/themes/[theme]`).
|
||||
# Defaults to the theme directory (`app/javascript/themes/[theme]`),
|
||||
# but in the case of the vanilla Mastodon theme the pack file is
|
||||
# somewhere else.
|
||||
pack_directory: app/javascript/packs
|
||||
|
||||
# (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
|
||||
|
Loading…
Reference in new issue