Skip to content

Using Lingui in monorepo over several projects #908

Answered by tricoder42
danielkcz asked this question in Q&A
Discussion options

You must be logged in to vote

You can't use macros from modules with invalid names. See official babel-plugin-macros documentation for a list of valid macro names.

Second, even if you solved it, you would have to update @lingui/babel-plugin-extract-messages plugin to actually see your module as well. right now it only looks for @lingui/macro and @lingui/react.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@danielkcz
Comment options

@tricoder42
Comment options

@danielkcz
Comment options

Answer selected by danielkcz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants