babel.config.js 231 B

12345678910
  1. // babel-preset-taro 更多选项和默认值:
  2. // https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
  3. module.exports = {
  4. presets: [
  5. ['taro', {
  6. framework: 'react',
  7. ts: true
  8. }]
  9. ]
  10. }