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
{{ message }}
This repository was archived by the owner on May 4, 2020. It is now read-only.
Output file with empty [] if src has no messages. For build systems like bazel that relies on specific output mapping, not writing out a file can cause issues.
--ignore List of glob paths to **not** extract translations from.
45
+
--output-empty-json Output file with empty [] if src has no messages. For build systems like bazel that relies on specific output mapping, not writing out a file can cause issues.
Copy file name to clipboardExpand all lines: packages/cli/src/cli.ts
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,11 @@ async function main(argv: string[]) {
98
98
].join(''),
99
99
false
100
100
)
101
+
.option(
102
+
'--output-empty-json',
103
+
'Output file with empty [] if src has no messages. For build systems like bazel that relies on specific output mapping, not writing out a file can cause issues.',
104
+
false
105
+
)
101
106
.option(
102
107
'--ignore <files>',
103
108
'List of glob paths to **not** extract translations from.'
@@ -122,6 +127,7 @@ async function main(argv: string[]) {
0 commit comments