微信小程序上传
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user