Skip to content

Commit

Permalink
REF: Upgrade babel version to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
royriojas committed Sep 17, 2018
1 parent f0a82c2 commit fc9fd52
Show file tree
Hide file tree
Showing 4 changed files with 6,301 additions and 2,098 deletions.
35 changes: 30 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
{
"presets": ["es2015", "stage-0"],

"presets": [
"@babel/preset-env"
],
"plugins": [
"add-module-exports",
"transform-decorators-legacy"
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-proposal-optional-chaining",
[
"@babel/plugin-proposal-pipeline-operator",
{
"proposal": "minimal"
}
],
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-function-bind"
]
}
}
Loading

0 comments on commit fc9fd52

Please sign in to comment.