import type { UserConfigExport } from '@tarojs/cli'; /** * dev:weapp 下 Vite 会用 prod 模式替换 react 引用,可能导致 useState 等 hooks 失效。 * @see https://docs.taro.zone/docs/config-detail#minidebugreact */ export default { mini: { debugReact: true, }, } satisfies UserConfigExport;