metro.config.js 311 B

12345678910
  1. const { mergeConfig } = require('metro-config')
  2. const { getMetroConfig } = require('@tarojs/rn-supporter')
  3. module.exports = (async function (){
  4. return mergeConfig({
  5. // custom your metro config here
  6. // https://facebook.github.io/metro/docs/configuration
  7. resolver: {}
  8. }, await getMetroConfig())
  9. })()