mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-04-20 23:01:03 +00:00
add ES2017 polyfill
This commit is contained in:
parent
09393ad2de
commit
f9b71e2a3e
3 changed files with 11 additions and 1 deletions
2
.babelrc
2
.babelrc
|
|
@ -1,9 +1,11 @@
|
|||
{
|
||||
"presets": [
|
||||
"es2015",
|
||||
"es2017",
|
||||
"stage-0"
|
||||
],
|
||||
"plugins": [
|
||||
"transform-runtime",
|
||||
"add-module-exports"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
"babel-plugin-add-module-exports": "^0.2.1",
|
||||
"babel-plugin-transform-runtime": "^6.15.0",
|
||||
"babel-preset-es2015": "^6.18.0",
|
||||
"babel-preset-es2017": "^6.16.0",
|
||||
"babel-preset-stage-0": "^6.16.0",
|
||||
"chalk": "^1.1.3",
|
||||
"chokidar": "^1.6.1",
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@ babel-plugin-syntax-object-rest-spread@^6.8.0:
|
|||
version "6.13.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
|
||||
|
||||
babel-plugin-syntax-trailing-function-commas@^6.3.13:
|
||||
babel-plugin-syntax-trailing-function-commas@^6.3.13, babel-plugin-syntax-trailing-function-commas@^6.8.0:
|
||||
version "6.13.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.13.0.tgz#2b84b7d53dd744f94ff1fad7669406274b23f541"
|
||||
|
||||
|
|
@ -783,6 +783,13 @@ babel-preset-es2015:
|
|||
babel-plugin-transform-es2015-unicode-regex "^6.3.13"
|
||||
babel-plugin-transform-regenerator "^6.16.0"
|
||||
|
||||
babel-preset-es2017:
|
||||
version "6.16.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-es2017/-/babel-preset-es2017-6.16.0.tgz#536c6287778a758948ddd092b466b6ef50b786fa"
|
||||
dependencies:
|
||||
babel-plugin-syntax-trailing-function-commas "^6.8.0"
|
||||
babel-plugin-transform-async-to-generator "^6.16.0"
|
||||
|
||||
babel-preset-stage-0:
|
||||
version "6.16.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-stage-0/-/babel-preset-stage-0-6.16.0.tgz#f5a263c420532fd57491f1a7315b3036e428f823"
|
||||
|
|
|
|||
Loading…
Reference in a new issue