We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c696d96 commit d9a7656Copy full SHA for d9a7656
index.ts
@@ -244,8 +244,7 @@ export default class I18nextPlugin {
244
const keys = _.sortedUniq(_.sortBy(_.keys(values)));
245
stream.write("{\n");
246
stream.write(_.map(keys, key => `\t"${key}": "${key}"`).join(",\n"));
247
- stream.write("\n}");
248
-
+ stream.end("\n}");
249
stream.on("close", () => resolve());
250
251
compilation.warnings.push(`missing translation ${_.size(values)} keys in ${lng}/${ns}`);
0 commit comments