import { AbsoluteUrlMapper } from './mapper' ; export const dataUrlMapper = { map ( fileName , imagePath ) { let absoluteImagePath ; if ( imagePath . indexOf ( 'data:image' ) === 0 ) { absoluteImagePath = imagePath ; } return absoluteImagePath ; } , refreshConfig ( ) { } , } ;