-
Notifications
You must be signed in to change notification settings - Fork 380
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
Extract fails when files do not have import from 'lingui-react' #62
Comments
This shouldn't been happening after latest release of CLI (lingui-cli@1.0.5) and extract plugin (babel-plugin-lingui-extract-messages@1.0.3). I'll take a look You can also ignore individual files or patterns with |
Using latest release (lingui-cli@1.0.5) and extract plugin (babel-plugin-lingui-extract-messages@1.0.3). Issue still persists. |
I'm not able to reproduce this bug. It's the very same error? Could you please paste the file which causes this error? |
Ignore files without lingui imports
Fixed in latest releases: babel-plugin-lingui-extract-messages@1.0.5 |
Working now, thanks! |
Hi, i'm setting up lingui on my project, but i wont need i18n for all files, but i get the following errors when using extract on the project:
Individual files that import {Trans} work fine. Is there any way to just ignore files without import and keep extracting others?
Thanks.
The text was updated successfully, but these errors were encountered: