Skip to content

Commit fcfee6f

Browse files
committed
Update babel config to use env preset
1 parent eb94dd5 commit fcfee6f

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

template/.babelrc

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,13 @@
99
"> 1%",
1010
"last 2 versions",
1111
"not ie <= 8"
12-
]
12+
],
13+
"node": "6.10"
1314
}
1415
}
15-
],
16-
"stage-2"
16+
]
1717
],
1818
"plugins": [
1919
"transform-runtime"
20-
],
21-
"env": {
22-
"test": {
23-
"presets": [
24-
"env",
25-
"stage-2"
26-
],
27-
"plugins": [
28-
"istanbul"
29-
]
30-
}
31-
}
20+
]
3221
}

template/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"babel-plugin-istanbul": "^4.1.1",
3030
"babel-plugin-transform-runtime": "^6.22.0",
3131
"babel-preset-env": "^1.3.2",
32-
"babel-preset-stage-2": "^6.22.0",
3332
"chai": "^4.1.2",
3433
"eslint": "^4.11.0",
3534
"eslint-plugin-vue": "beta",

0 commit comments

Comments
 (0)