code: function embed(resourceFiles, resourceRoot) {
    if (resourceFiles.length > 0) {
      let buffer = 'var embeddedFiles = {\n';
      for (let i = 0; i < resourceFiles.length; ++i) {
        buffer +=
          JSON.stringify(path.relative(resourceRoot, resourceFiles[i])) + ': "';
        buffer += encode(resourceFiles[i]) + '",\n';
      }
  
      buffer +=
        '\n};\n\nmodule.exports.keys = function () { return Object.keys(embeddedFiles); }\n\nmodule.exports.get = ';
      buffer += accessor.toString();
  
      return buffer;
    }
  }
docs: Embed files.
  
  @param {array} resourceFiles - array of files to embed.
  @param {string} resourceRoot - root of resources.
  @param {function} compelte   - callback