@lingui/conf
Get lingui configuration from package.json
⚠️ Internal package: You probably don't need this.
@lingui/conf
is part of LinguiJS. See the documentation for all information, tutorials and examples.
Package finds nearest package.json starting from current directory, reads lingui
configuration, provides defaults for all options and <rootDir>
with current working directory.
Usage
const getConfig = require('@lingui/conf')
const config = getConfig()
See the reference documenation of lingui-cli
for all options.
License
This package is licensed under MIT license.
2.7.0 (2018-09-10)
🔥 Babel Macros 🎣 are finally released! After few weeks of fiddling with API, i18n macros
are finally out without a breaking release. This is the first part of
RFC-001, final form
be delivered in next release.
Important: Macros are completely optional and Babel plugins will work until v3.
It's not mandatory to migrate to macro, but recommended.
New Features
Bug Fixes
- CLI: how help for unrecognized commands (#308).
Thanks to An Nguyen.
- Fix Flow types (#306).
<a name="2.6.1"></a>