Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Nov 14, 2023
1 parent 53a0385 commit 27879e4
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,9 @@ function getBabelOptions(targets) {
return {
babelrc: false,
ignore: ['./node_modules'],
presets: [
[
'@babel/preset-env',
{
loose: true,
modules: false,
targets,
},
],
],
presets: [['@babel/preset-env', { loose: true, modules: false, targets }]],
plugins: [
[
'@babel/plugin-transform-react-jsx',
{
runtime: 'automatic',
},
],
['@babel/plugin-transform-react-jsx', { runtime: 'automatic' }],
['@babel/plugin-transform-typescript', { isTSX: true }],
],
extensions,
Expand Down

0 comments on commit 27879e4

Please sign in to comment.