{"version":3,"sources":["jsdelivr-header.js","/npm/yamllint-webpack-plugin@0.0.1/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,KAAO,QAAQ,QACf,OAAS,QAAQ,UACjB,OAAS,QAAQ,iBAEjB,eAAiB,QAAQ,yBAE7B,SAAS,MAAM,EAAS,GAEtB,IAAI,GADJ,EAAU,GAAW,CAAC,GACA,SAAW,EAAS,QAE1C,EAAU,OAAO,CACf,OAAO,GACN,EAAS,CACV,MAAO,OAAO,EAAQ,OAAS,YAAY,KAAI,SAAU,GACvD,OAAO,KAAK,KAAK,EAAS,IAAK,EACjC,IACA,QAAS,IAGX,IAAI,EAAS,eAAe,KAAK,KAAM,GAEvC,EAAS,OAAO,MAAO,GACvB,EAAS,OAAO,YAAa,EAC/B,CAEA,OAAO,QAAU,SAAU,GAWzB,OAVI,aAAmB,QACrB,EAAU,CACR,QAAS,IAIR,MAAM,QAAQ,EAAQ,WACzB,EAAQ,QAAU,CAAC,EAAQ,UAGtB,CACL,MAAO,MAAM,KAAK,KAAM,GAE5B","file":"/npm/yamllint-webpack-plugin@0.0.1/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/yamllint-webpack-plugin@0.0.1/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","var path = require('path');\nvar arrify = require('arrify');\nvar assign = require('object-assign');\n\nvar runCompilation = require('./lib/run-compilation');\n\nfunction apply(options, compiler) {\n  options = options || {};\n  var context = options.context || compiler.context;\n  \n  options = assign({\n    quiet: false\n  }, options, {\n    files: arrify(options.files || '**/*.yml').map(function (file) {\n      return path.join(context, '/', file);\n    }),\n    context: context\n  });\n\n  var runner = runCompilation.bind(this, options);\n\n  compiler.plugin('run', runner);\n  compiler.plugin('watch-run', runner);\n}\n\nmodule.exports = function (options) {\n  if (options instanceof Array) {\n    options = {\n      include: options\n    };\n  }\n\n  if (!Array.isArray(options.include)) {\n    options.include = [options.include];\n  }\n\n  return {\n    apply: apply.bind(this, options)\n  };\n};\n"]}