Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Mar 6, 2024
1 parent 7d379cc commit 135ff2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/taro-rn-supporter/src/Support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -147,5 +147,5 @@ export async function getMetroConfig (opt: Options = {}, toMergeConfig?: MetroCo
resolveRequest: taroMetroConfig.resolver?.resolveRequest,
}
})
return finalConfig;
return finalConfig
}
2 changes: 1 addition & 1 deletion packages/taro-rn-supporter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 135ff2a

Please sign in to comment.