Skip to content

Commit 693d98d

Browse files
author
Bernie Zang
committed
fix(tooling): Update transpile script to use babel-preset-env
1 parent 85851c1 commit 693d98d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/utils/build.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ function buildES(pkgName, pkgPath) {
6868
sourceMaps: true,
6969
presets: [
7070
[
71-
`es2015`,
71+
`env`,
7272
{
73-
loose: true,
73+
targets: {
74+
node: `6.5`
75+
},
7476
modules: false
7577
}
7678
],

0 commit comments

Comments
 (0)