Skip to content

Commit

Permalink
refactor: migrated off babel-plugin-react-intl
Browse files Browse the repository at this point in the history
PR #258 

Co-authored-by: Abdullah Waheed <abdullah.waheed@arbisoft.com>
  • Loading branch information
BilalQamar95 and abdullahwaheed authored Jan 20, 2023
1 parent efdaf60 commit ca7ae20
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 214 deletions.
6 changes: 1 addition & 5 deletions config/babel-preserve-modules.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ module.exports = {
i18n: {
plugins: [
[
'react-intl',
{
messagesDir: './temp/babel-plugin-react-intl',
moduleSourceName: '@edx/frontend-platform/i18n',
},
'formatjs',
],
],
},
Expand Down
6 changes: 1 addition & 5 deletions config/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ module.exports = {
i18n: {
plugins: [
[
'react-intl',
{
messagesDir: './temp/babel-plugin-react-intl',
moduleSourceName: '@edx/frontend-platform/i18n',
},
'formatjs',
],
],
},
Expand Down
Loading

0 comments on commit ca7ae20

Please sign in to comment.