diff --git a/metro.config.js b/metro.config.js index c9bd197..1d81867 100644 --- a/metro.config.js +++ b/metro.config.js @@ -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()) \ No newline at end of file + resolver: {} + }, await getMetroConfig()) +})() \ No newline at end of file