@lingui/conf
Advanced tools
Comparing version 5.0.0-next.3 to 5.0.0-next.4
@@ -174,3 +174,3 @@ /** | ||
fallbackLocales?: FallbackLocales | false; | ||
extractors?: (string | ExtractorType)[]; | ||
extractors?: ExtractorType[]; | ||
prevFormat?: CatalogFormat; | ||
@@ -177,0 +177,0 @@ localeDir?: string; |
{ | ||
"name": "@lingui/conf", | ||
"version": "5.0.0-next.3", | ||
"version": "5.0.0-next.4", | ||
"sideEffects": false, | ||
@@ -45,3 +45,3 @@ "description": "Get lingui configuration from package.json", | ||
}, | ||
"gitHead": "c027f0e45978eae89665872861cfcafa89f24078" | ||
"gitHead": "7b9ca5b479be4acd58ed95bff841e89efba06279" | ||
} |
@@ -17,13 +17,4 @@ [![License][badge-license]][license] | ||
```js | ||
const getConfig = require("@lingui/conf") | ||
See the [reference][reference] documentation. | ||
const config = getConfig() | ||
// When package.json is located in '/app/package.json' | ||
// config.rootDir === '/app' | ||
// config.localeDir === '/app/locale' | ||
``` | ||
See the [reference][reference] documentation of `lingui-cli` for all options. | ||
## License | ||
@@ -30,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43975
1047
31