@discord/metro-intl-transformer 0.5.0 → 0.6.1
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/asset-plugin.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/asset-plugin.js
CHANGED
|
@@ -101,7 +101,7 @@ async function transformAsset(assetData) {
|
|
|
101
101
|
|
|
102
102
|
const result = processTranslationsFile(filename);
|
|
103
103
|
precompileFileForLocale(filename, result.locale, {
|
|
104
|
-
format: IntlCompiledMessageFormat.
|
|
104
|
+
format: IntlCompiledMessageFormat.KeylessJson,
|
|
105
105
|
outputFile,
|
|
106
106
|
});
|
|
107
107
|
|
package/index.js
CHANGED
|
@@ -57,7 +57,7 @@ function transformToString({
|
|
|
57
57
|
// @ts-expect-error Without the `outputFile` option, this always returns a Buffer, but the
|
|
58
58
|
// option allows the function to return void instead.
|
|
59
59
|
return precompileFileForLocale(filename, result.locale, {
|
|
60
|
-
format: IntlCompiledMessageFormat.
|
|
60
|
+
format: IntlCompiledMessageFormat.KeylessJson,
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@discord/metro-intl-transformer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Metro/Babel transformer plugin for compiling, bundling, and minifying intl message definitions and usages using intl-message-database.",
|
|
6
6
|
"exports": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"debug": "^4.3.6",
|
|
14
|
-
"@discord/intl-loader-core": "0.
|
|
14
|
+
"@discord/intl-loader-core": "0.6.1"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@babel/types": "^7.24.9",
|