-
Notifications
You must be signed in to change notification settings - Fork 33
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
refactor: migrated off babel-plugin-react-intl #258
Conversation
…to bilalqamar95/migrate-off-react-intl-plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a couple of questions: think you can shed some light on them?
config/babel.config.js
Outdated
{ | ||
messagesDir: './temp/babel-plugin-react-intl', | ||
moduleSourceName: '@edx/frontend-platform/i18n', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like moduleSourceName
was removed in v9.0.0. Can you confirm we really don't need to do anything else in addition to just removing the line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes this one seems extra, i think we can safely remove it
@arbrandes Hi, you raised some valid points. Now that we are more familiar with frontend-build & its dependencies I think we would have to revisit this task in light of frontend-build consumers ( |
@BilalQamar95, sprint check: have you been able to revisit this one? |
Yes, @abdullahwaheed did the initial research work on it & replied to your comments addressing the highlighted concerns. I will update the PR shortly to remove |
…to bilalqamar95/migrate-off-react-intl-plugin
@adamstankiewicz / @arbrandes could you please review it again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we missed a spot, but in principle looks good. We can merge after addressing that comment.
…qamar95/migrate-off-react-intl-plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
🎉 This PR is included in version 12.4.16 🎉 The release is available on: Your semantic-release bot 📦🚀 |
[inform] Not sure if this caused translation failures. See edx/frontend-component-header-edx#338. Thank you. |
Ticket
120: Migrate off babel-plugin-react-intl in favor of babel-plugin-formatjs
What has changed
babel-plugin-formatjs