Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zewish committed Nov 19, 2023
1 parent 03f9546 commit d5b49fa
Show file tree
Hide file tree
Showing 9 changed files with 3,558 additions and 2,679 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lib/**",
"es/**",
"babel-build.mjs",
"rollup.config.mjs"
"rollup.config.ts"
],
"rules": {
"comma-dangle": 0,
Expand Down
16 changes: 0 additions & 16 deletions demo-web/.babelrc

This file was deleted.

22 changes: 22 additions & 0 deletions demo-web/.babelrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { createRequire } from 'module'
const require = createRequire(import.meta.url);

export default {
presets: [
require.resolve('@babel/preset-react'),
[require.resolve('@babel/preset-env'), {
useBuiltIns: 'entry',
corejs: 3,
modules: false,
loose: true,
targets: {
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9'
]
}
}]
]
}
Loading

0 comments on commit d5b49fa

Please sign in to comment.