var _require=require('@expo/next-adapter'),withExpo=_require.withExpo;
var withImages=require('next-images');
var withFonts=require('next-fonts');
var withCSS=require('@zeit/next-css');
var path=require('path');
var withTM=require('next-transpile-modules')(['renative']);var _require2=
require('rnv'),EXTENSIONS=_require2.Constants.EXTENSIONS;

var config={
projectRoot:path.resolve(__dirname),
pageExtensionsRnv:EXTENSIONS.web,
webpack:function webpack(cfg){
cfg.resolve.extensions=EXTENSIONS.web.map(function(e){return"."+e;}).filter(function(ext){return isServer||!ext.startsWith('.server.');});
cfg.resolve.modules.unshift(path.resolve(__dirname));
cfg.resolve.alias.renative=path.resolve(__dirname,'node_modules/renative');
cfg.module.rules[0].test=/\.(tsx|ts|js|mjs|jsx|web.js)$/;
return cfg;
}};


module.exports=withExpo(withCSS(withFonts(withImages(withTM(config)))));
//# sourceMappingURL=next.config.js.map