Skip to content

Commit

Permalink
🔨 Only bundle for browsers that support async/await (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wil Wilsman authored Mar 25, 2021
1 parent c2139b6 commit 04d3c7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ const plugins = {
babelHelpers: 'bundled',
presets: [
['@babel/env', {
targets: 'last 2 version'
targets: {
browsers: [
'last 2 versions and supports async-functions'
]
}
}]
]
}),
Expand Down

0 comments on commit 04d3c7d

Please sign in to comment.