Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit d6abe61

Browse files
committed
fix: remove presets from babel
1 parent d691654 commit d6abe61

File tree

3 files changed

+524
-2447
lines changed

3 files changed

+524
-2447
lines changed

.babelrc

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
{
2-
"presets": [
3-
["@babel/preset-env",{"targets":"Chrome 60"}],
4-
"@babel/preset-flow"
5-
],
62
"plugins": [
7-
"@babel/plugin-proposal-object-rest-spread",
8-
"@babel/plugin-transform-runtime",
9-
"babel-plugin-transform-vue-jsx"
3+
"syntax-trailing-function-commas",
4+
"transform-flow-strip-types",
5+
"transform-es2015-destructuring",
6+
"transform-es2015-parameters",
7+
"transform-es2015-shorthand-properties",
8+
"transform-es2015-spread",
9+
"transform-object-rest-spread",
10+
"transform-async-to-generator",
11+
"transform-strict-mode",
12+
"syntax-jsx",
13+
"transform-vue-jsx",
14+
["transform-es2015-modules-commonjs", {"allowTopLevelThis": true}]
1015
]
1116
}

0 commit comments

Comments
 (0)