code: function getRequire(context, options, tag, type, resource) {
      const loaders = normalizeLoaders(options.map[type]);
      const selectLoader = require.resolve('./loader.js');
      const request = {
          tag,
          type,
          options
      };
      const url = loaderUtils.stringifyRequest(context, `!${loaders}!${selectLoader}?${JSON.stringify(request)}!${resource}`)
      const prefix = tag === 'script' ? 'module.exports = ' : 'const $style = ';
      return `${prefix}require(${url});\r\n`;
  }
docs: Return full require() statement for given resource and type
  
  @param {object} context
  @param {object} options
  @param {string} tag
  @param {string} type
  @param {string} resource
  @returns {string}