Skip to content

feat: not work with taro react app #181

Open
@vaynevayne

Description

@vaynevayne

Describe the feature

TypeError: Cannot read properties of undefined (reading 'writeText')

// babel-preset-taro 更多选项和默认值:
// https://docs.taro.zone/docs/next/babel-config
module.exports = {
  presets: [
    [
      'taro',
      {
        framework: 'react',
        ts: true,
        compiler: 'webpack5',
        useBuiltIns: process.env.TARO_ENV === 'h5' ? 'usage' : false,
      },
    ],
  ],
  plugins: [
    [
      '@locator/babel-jsx/dist',
      {
        env: 'development',
      },
    ],
  ],
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions