Skip to content

Commit

Permalink
Add ie support (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
igoroctaviano authored Nov 1, 2024
1 parent 2e48bf5 commit 1dc53db
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
module.exports = {
presets: [['@babel/preset-env', { targets: { node: 'current' } }]],
presets: [
['@babel/preset-env', {
targets: {
browsers: ['ie 11']
}
}]
],
plugins: [
['@babel/plugin-proposal-object-rest-spread'],
['@babel/plugin-transform-runtime',
{
regenerator: true,
corejs: 3
}]
}
]
]
}

0 comments on commit 1dc53db

Please sign in to comment.