-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from edx/djoy/modernize
feat: handleAllTrackEvents is no longer used
- Loading branch information
Showing
11 changed files
with
1,150 additions
and
2,885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ temp | |
|
||
src/i18n/transifex_input.json | ||
temp/babel-plugin-react-intl | ||
/.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,3 @@ | ||
// These preset packages are included by frontend-build. | ||
// TODO: Add to frontend-build and leverage that config. | ||
module.exports = { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
modules: false, | ||
}, | ||
], | ||
'@babel/preset-react', | ||
], | ||
plugins: [ | ||
'@babel/plugin-proposal-object-rest-spread', | ||
'@babel/plugin-proposal-class-properties', | ||
], | ||
env: { | ||
i18n: { | ||
plugins: [ | ||
[ | ||
'react-intl', | ||
{ | ||
messagesDir: './temp/babel-plugin-react-intl', | ||
moduleSourceName: '@edx/frontend-i18n', | ||
}, | ||
], | ||
], | ||
}, | ||
test: { | ||
presets: [ | ||
'@babel/preset-env', | ||
], | ||
}, | ||
}, | ||
}; | ||
const { createConfig } = require('@edx/frontend-build'); | ||
|
||
module.exports = createConfig('babel-preserve-modules'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.