import i18n from './i18n' ; export { i18n } ; const ua = navigator . userAgent . toLowerCase ( ) ; export const isMobile = /ios|iphone|ipod|ipad|android/ . test ( ua ) ; /**
 * this interface from '@types/webpack-env'
 */ export interface RequireContext { keys ( ) : string [ ] ; ( id ) : any ; < T > ( id ) : T ; resolve ( id ) : string ; id : string ; } export interface ImportMap { [ key ] : RequireContext ; } export function importAll ( map , r ) { r . keys ( ) . forEach ( key => { map [ key ] = r ( key ) ; } ) ; }