duplicate definitions warning #2877
Unanswered
hiteshgupta9193
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
People can define the same message with the same id and same default message in different files. Although it will generate single output in the output file, some people may want to give developers a warning in the development mode.
Please add a flag to give these types of warnings or some functionality to run a method over every message item to give users control to write their own logic before generating the final output.
Can be done something here - https://github.com/formatjs/formatjs/blob/main/packages/cli/src/extract.ts#L212
Beta Was this translation helpful? Give feedback.
All reactions