-
Notifications
You must be signed in to change notification settings - Fork 2k
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 #1515 from Automattic/update/babel-6
Framework: Upgrade to Babel 6
- Loading branch information
Showing
19 changed files
with
518 additions
and
306 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"presets": [ | ||
"es2015", | ||
"stage-2" | ||
], | ||
"plugins": [ | ||
"transform-runtime", | ||
"transform-class-properties", | ||
"transform-export-extensions", | ||
"add-module-exports", | ||
"syntax-jsx", | ||
"transform-react-jsx", | ||
"transform-react-display-name" | ||
] | ||
} |
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
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,6 +1,18 @@ | ||
export * from './cart'; | ||
export * from './checkout'; | ||
export * from './free-trials'; | ||
export * from './domain-management'; | ||
export * from './domain-search'; | ||
export * from './purchases'; | ||
// These could be rewritten as `export * from`, pending resolution of Babel | ||
// transform bug: http://phabricator.babeljs.io/T2877 | ||
|
||
import * as cart from './cart'; | ||
import * as checkout from './checkout'; | ||
import * as freeTrials from './free-trials'; | ||
import * as domainManagement from './domain-management'; | ||
import * as domainSearch from './domain-search'; | ||
import * as purchases from './purchases'; | ||
|
||
export default { | ||
...cart, | ||
...checkout, | ||
...freeTrials, | ||
...domainManagement, | ||
...domainSearch, | ||
...purchases | ||
}; |
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
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
Oops, something went wrong.