Skip to content

Commit

Permalink
build(babel): added transform-runtime babel plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
skolmer committed Nov 11, 2016
1 parent 00de9cd commit a040218
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
"es2017"
],
"plugins": [
"transform-object-rest-spread"
"transform-object-rest-spread",
[
"transform-runtime",
{
"polyfill": false,
"regenerator": true
}
]
]
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
},
"dependencies": {
"ajv": "^4.8.2",
"babel-runtime": "^6.18.0",
"babel-traverse": "^6.18.0",
"babylon": "^6.13.1",
"colors": "^1.1.2",
Expand All @@ -54,6 +55,7 @@
"babel-eslint": "^7.1.0",
"babel-jest": "^16.0.0",
"babel-plugin-transform-object-rest-spread": "^6.16.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-es2017": "^6.16.0",
"coveralls": "^2.11.14",
Expand Down
13 changes: 13 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,12 @@ babel-plugin-transform-regenerator@^6.16.0:
babel-types "^6.16.0"
private "~0.1.5"

babel-plugin-transform-runtime:
version "6.15.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.15.0.tgz#3d75b4d949ad81af157570273846fb59aeb0d57c"
dependencies:
babel-runtime "^6.9.0"

babel-plugin-transform-strict-mode@^6.18.0:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.18.0.tgz#df7cf2991fe046f44163dcd110d5ca43bc652b9d"
Expand Down Expand Up @@ -829,6 +835,13 @@ babel-register@^6.18.0:
mkdirp "^0.5.1"
source-map-support "^0.4.2"

babel-runtime:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.18.0.tgz#0f4177ffd98492ef13b9f823e9994a02584c9078"
dependencies:
core-js "^2.4.0"
regenerator-runtime "^0.9.5"

babel-runtime@^6.0.0, babel-runtime@^6.11.6, babel-runtime@^6.9.0, babel-runtime@^6.9.1:
version "6.11.6"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.11.6.tgz#6db707fef2d49c49bfa3cb64efdb436b518b8222"
Expand Down

0 comments on commit a040218

Please sign in to comment.