// babel-preset-taro 更多选项和默认值：
// https://docs.taro.zone/docs/next/babel-config
module.exports = {
  presets: [
    ['taro', {
      framework: 'react',
      ts: true,
      compiler: 'vite',
    }],
    '@babel/preset-typescript'
  ],
  plugins: [
    '@babel/plugin-syntax-flow'
  ]
}
