SALVO-TS Compiler
// TODO
Nested snippet/section folders
SALVO-TS allows snippet and section files to be stored in subfolders for easier organization.
In order to retain the ability to easily find and correlate files between the source and compiled theme, the compiler will enforce the following rule regarding the names of snippet files:
- Any snippet file stored in subdirectory
snippets/foo/bar/..must be prefixed
Locale auditing
Locale auditing can be enabled by passing the --audit-locales flag, i.e. npm run dev -- --audit-locales.
When enabled, the compiler will flag the following errors:
- Translations strings used without a corrosponding entry in a locale file.
- Entries in locale files which are not used in the theme.