From 99f4a00f132841a60e01a6c0c410a09e41cd9fd2 Mon Sep 17 00:00:00 2001 From: tony chen Date: Wed, 6 Mar 2024 13:34:24 +0800 Subject: [PATCH] chore: lint --- packages/taro-rn-supporter/src/Support.ts | 6 +++--- packages/taro-rn-supporter/tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/taro-rn-supporter/src/Support.ts b/packages/taro-rn-supporter/src/Support.ts index 8454ec4c26ac..c1b2b5b31bdb 100644 --- a/packages/taro-rn-supporter/src/Support.ts +++ b/packages/taro-rn-supporter/src/Support.ts @@ -132,8 +132,8 @@ export async function getMetroConfig (opt: Options = {}, toMergeConfig?: MetroCo return Middleware } }, - }; - if (!toMergeConfig) return taroMetroConfig; + } + if (!toMergeConfig) return taroMetroConfig const blockListTaro = taroMetroConfig.resolver?.blockList const blockListMerge = toMergeConfig.resolver?.blockList @@ -147,5 +147,5 @@ export async function getMetroConfig (opt: Options = {}, toMergeConfig?: MetroCo resolveRequest: taroMetroConfig.resolver?.resolveRequest, } }) - return finalConfig; + return finalConfig } diff --git a/packages/taro-rn-supporter/tsconfig.json b/packages/taro-rn-supporter/tsconfig.json index edda9d2c0db5..493cd20501f0 100644 --- a/packages/taro-rn-supporter/tsconfig.json +++ b/packages/taro-rn-supporter/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.root.json", "compilerOptions": { "rootDir": "./src", - "outDir": "dist", + "outDir": "/Users/zhiqingchen/taro-rn-oh/taroDemo/node_modules/@tarojs/rn-supporter/dist", "sourceMap": true, "types": ["node"], "module": "commonjs",