@lingo.dev/_compiler 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.cjs CHANGED
@@ -4,7 +4,7 @@ var _unplugin = require('unplugin');
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "@lingo.dev/_compiler",
7
- version: "0.3.2",
7
+ version: "0.3.3",
8
8
  description: "Lingo.dev Compiler",
9
9
  private: false,
10
10
  publishConfig: {
@@ -1730,6 +1730,10 @@ var LCPServer = (_class = class {
1730
1730
  params.targetLocale
1731
1731
  );
1732
1732
  targetDictionary = this._mergeDictionaries(newTranslations, cache);
1733
+ targetDictionary = {
1734
+ ...targetDictionary,
1735
+ locale: params.targetLocale
1736
+ };
1733
1737
  await LCPCache.writeLocaleDictionary(targetDictionary, cacheParams);
1734
1738
  }
1735
1739
  const targetDictionaryWithFallback = this._mergeDictionaries(
package/build/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { createUnplugin } from "unplugin";
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "@lingo.dev/_compiler",
7
- version: "0.3.2",
7
+ version: "0.3.3",
8
8
  description: "Lingo.dev Compiler",
9
9
  private: false,
10
10
  publishConfig: {
@@ -1730,6 +1730,10 @@ var LCPServer = class {
1730
1730
  params.targetLocale
1731
1731
  );
1732
1732
  targetDictionary = this._mergeDictionaries(newTranslations, cache);
1733
+ targetDictionary = {
1734
+ ...targetDictionary,
1735
+ locale: params.targetLocale
1736
+ };
1733
1737
  await LCPCache.writeLocaleDictionary(targetDictionary, cacheParams);
1734
1738
  }
1735
1739
  const targetDictionaryWithFallback = this._mergeDictionaries(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_compiler",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Lingo.dev Compiler",
5
5
  "private": false,
6
6
  "publishConfig": {