Skip to content

Commit 6064449

Browse files
rschristianJoviDeCroock
authored andcommitted
chore: Specify browser targets in Babel config (#4773)
1 parent 82e53e6 commit 6064449

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

babel.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ module.exports = function (api) {
2424
modules: noModules ? false : 'auto',
2525
exclude: ['@babel/plugin-transform-typeof-symbol'],
2626
targets: {
27-
browsers: ['last 2 versions', 'IE >= 9']
27+
browsers: [
28+
'chrome >= 40',
29+
'safari >= 9',
30+
'firefox >= 36',
31+
'edge >= 12',
32+
'not dead'
33+
]
2834
}
2935
}
3036
]

0 commit comments

Comments
 (0)