"use strict";

var loaderUtils = require("loader-utils");
var glob = require("glob");
var path = require("path");

module.exports = function (content, sourceMap) {
  // var query = loaderUtils.parseQuery(this.query);
  var resourceDir = path.dirname(this.resourcePath);
  var files = glob.sync(content.trim(), {
    cwd: resourceDir
  });

  return files.map(function (file) {
    var relativePath = path.relative(resourceDir, file);
    return "require(" + JSON.stringify(file) + ");";
  }).join("\n");
};

@@ -374,65 +374,8 @@
 ) %7B%0A
-    var relativePath = path.relative(resourceDir, file);%0A
     

Remove unused line