Skip to content

Commit

Permalink
3.6.13 metro config
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Aug 15, 2023
1 parent 662184d commit 036af6b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions metro.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
const { mergeConfig } = require('metro-config')
const { getMetroConfig } = require('@tarojs/rn-supporter')
module.exports = mergeConfig({

module.exports = (async function (){
return mergeConfig({
// custom your metro config here
// https://facebook.github.io/metro/docs/configuration
resolver: {}
}, getMetroConfig())
resolver: {}
}, await getMetroConfig())
})()

0 comments on commit 036af6b

Please sign in to comment.