Skip to content

Commit 1dc53db

Browse files
Add ie support (#156)
1 parent 2e48bf5 commit 1dc53db

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

babel.config.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
module.exports = {
2-
presets: [['@babel/preset-env', { targets: { node: 'current' } }]],
2+
presets: [
3+
['@babel/preset-env', {
4+
targets: {
5+
browsers: ['ie 11']
6+
}
7+
}]
8+
],
39
plugins: [
4-
['@babel/plugin-proposal-object-rest-spread'],
510
['@babel/plugin-transform-runtime',
611
{
712
regenerator: true,
813
corejs: 3
9-
}]
14+
}
15+
]
1016
]
1117
}

0 commit comments

Comments
 (0)