You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,16 @@ The check command will check if the yaml files in your current working directory
10
10
11
11
## generate
12
12
13
-
Generate provides typescript language files according to your specification. It only works in your current working directoy's `language` folder and will output to `ssrc/locales` by default.
13
+
Generate provides typescript language files according to your specification. It only works in your current working directory's `language` folder and will output to `ssrc/locales` by default.
14
14
15
15
Options:
16
16
17
-
-`--strict-types` apply strict types, so that typescript will error on build if the structures missmatch
17
+
-`--strict-types` apply strict types, so that typescript will error on build if the structures mismatch
18
18
-`--verbatim-module-syntax` will export the type as a named export instead of a default one
19
-
-`--split` splits the language files at the top level keys.. Thhis leads to smaller files when using dynamic imports. Usually you want `--no-translations-file` as well in case of splitting.
20
-
-`--no-translations-file` dissables the creation of a translation object containing all languages
19
+
-`--simplified-hash-map` will convert the multi tiered object to a single level hash map for speed reasons.
20
+
-`--inject-default-language` will create a file based on the default language. Only works with `--simplified-hash-map` active at the same time.
21
+
-`--split` splits the language files at the top level keys. This leads to smaller files when using dynamic imports. Usually you want `--no-translations-file` as well in case of splitting.
22
+
-`--no-translations-file` disables the creation of a translation object containing all languages
0 commit comments