How to use file-loader

Comprehensive file-loader code examples:

How to use file-loader.apply:

39
40
41
42
43
44
45
46
47
48
49
50
      return 'module.exports = ' + JSON.stringify('data:' +
          mimetype + ';base64,' + content.toString('base64'));
    }
  }


  return fileLoader.apply(this, arguments);
};


function mimeTypes (ext) {
  if (typeExpr.test(ext)) {