Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Lingui using a separate file #175

Closed
rssfrncs opened this issue Mar 5, 2018 · 3 comments
Closed

Configure Lingui using a separate file #175

rssfrncs opened this issue Mar 5, 2018 · 3 comments

Comments

@rssfrncs
Copy link

rssfrncs commented Mar 5, 2018

As a developer i prefer (or have the choice) to write my configuration in a separate file instead of inside package.json.

Examples, .babelrc, .postcss.config.js, .eslintrc.js

@tricoder42
Copy link
Contributor

Make sense.

The package responsible for loading config is @lingui/conf. I guess there might be 3rd party package which does exactly the same (maybe in jest repo) - loads config from nearest package.json or specific file.

@tricoder42
Copy link
Contributor

This might be useful: config resolution in Jest.

@tricoder42
Copy link
Contributor

This is already supported since v2.2.0. See configuration docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants