Skip to content

Commit 099295a

Browse files
committed
Modernize browser targets
1 parent b027b7d commit 099295a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.browserslistrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
chrome >= 70
2+
chromeandroid >= 70
3+
ios >= 12
4+
safari >= 12
5+
edge >= 17
6+
firefox >= 68

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const base = {
2121
loader: 'babel-loader',
2222
include: path.resolve(__dirname, 'src'),
2323
query: {
24-
presets: [['@babel/preset-env', {targets: {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}}]]
24+
presets: [['@babel/preset-env']]
2525
}
2626
},
2727
{

0 commit comments

Comments
 (0)