Skip to content

Commit

Permalink
update babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Jan 11, 2023
1 parent 27a3fda commit 179a7b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
11 changes: 6 additions & 5 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ module.exports = (api) => {
const config = {
presets: [
[
'@babel/env',
'@babel/preset-env',
{
exclude: ['transform-typeof-symbol'],
exclude: [
'@babel/plugin-transform-async-to-generator',
'@babel/plugin-transform-regenerator',
'@babel/plugin-transform-typeof-symbol',
],
},
],
],
plugins: [
'@babel/plugin-transform-regenerator',
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-private-methods',
],
};

Expand Down
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,5 @@
},
"files": [
"dist"
],
"browserslist": [
"last 1 versions",
"chrome >= 55",
"safari >= 10",
"ie >= 9"
]
}

0 comments on commit 179a7b4

Please sign in to comment.