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

refactor: migrated off babel-plugin-react-intl #258

Merged
merged 8 commits into from
Jan 20, 2023
3 changes: 1 addition & 2 deletions config/babel-preserve-modules.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ module.exports = {
i18n: {
plugins: [
[
'react-intl',
'formatjs',
{
messagesDir: './temp/babel-plugin-react-intl',
moduleSourceName: '@edx/frontend-platform/i18n',
abdullahwaheed marked this conversation as resolved.
Show resolved Hide resolved
},
],
Expand Down
3 changes: 1 addition & 2 deletions config/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ module.exports = {
i18n: {
plugins: [
[
'react-intl',
'formatjs',
{
messagesDir: './temp/babel-plugin-react-intl',
moduleSourceName: '@edx/frontend-platform/i18n',
Copy link
Contributor

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?

Copy link
Contributor

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

},
],
Expand Down
Loading