code: function sizeForFileName(fileName, size) {
  	const m = fileName.match(/@(\d+)x\./);
  	const scale = m ? +m[1] : 1;
  
  	return {
  		realWidth: size.width,
  		realHeight: size.height,
  		width: Math.floor(size.width / scale),
  		height: Math.floor(size.height / scale)
  	};
  }
docs: Returns size object for given file name. If file name contains `@Nx` token,
  the final dimentions will be downscaled by N
  @param  {String} fileName
  @param  {Object} size
  @return {Object}