-
Notifications
You must be signed in to change notification settings - Fork 843
Update babel dependencies #10810
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
Merged
Merged
Update babel dependencies #10810
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
2d0710b
Update dependency babel-loader to v8
renovate-bot 5d09504
Attempt to update babel dependencies
brbrr 6cb3650
Drop browser targets and use browserslist from package.json
simison e9b81e1
Add `corejs:2` in @babel/preset-env config
simison 5963085
Drop proposals from Babel config
simison 21519a8
Convert module reexports to standard ESM syntax
jsnajdr 868b7f0
Update the Babel config only to include needed plugins
jsnajdr c436e96
update babel-register require statement
brbrr 058c5f9
@babel/register statements update
brbrr 415097e
address babel/register feedback
brbrr 21c49c3
Add back add-module-exports plugin
jsnajdr 2b31e2f
Revert "Add back add-module-exports plugin"
sirreal 6aaa2d9
Update deps (yarn)
sirreal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,6 +1 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
|
|
||
| export default reducer; | ||
| export * from './reducer'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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,9 +1,2 @@ | ||
| /** | ||
| * Internal dependencies | ||
| */ | ||
| import * as reducer from './reducer'; | ||
| import * as actions from './actions'; | ||
|
|
||
| const all = { ...reducer, ...actions }; | ||
|
|
||
| export default all; | ||
| export * from './reducer'; | ||
| export * from './actions'; |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| const config = { | ||
| presets: [ | ||
| [ | ||
| '@babel/env', | ||
| { | ||
| corejs: 2, | ||
| modules: 'commonjs', | ||
| useBuiltIns: 'entry', | ||
| }, | ||
| ], | ||
| '@babel/react' | ||
| ], | ||
| plugins: [ | ||
| '@babel/proposal-class-properties', | ||
| '@babel/transform-runtime', | ||
| '@babel/transform-member-expression-literals', | ||
| '@babel/transform-property-literals', | ||
| '@babel/transform-reserved-words', | ||
| ] | ||
| }; | ||
|
|
||
| module.exports = config; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.