text: !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("path")):"function"==typeof define&&define.amd?define(["path"],t):"object"==typeof exports?exports.WebpackFullHTMLPlugin=t(require("path")):e.WebpackFullHTMLPlugin=t(e.path)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),l=r(s),u=function(){function e(t){if(i(this,e),this.jsHandler=function(e){var t=e instanceof Array?e:[e],n="";if(0===t.length)return html;for(var r=0;r<t.length;r++)n+='<script type="text/javascript" src="'+t[r]+'"></script>\n';return n},this.cssHandler=function(e,t){var n=e instanceof Array?e:[e],r="";if(0===n.length)return t;for(var i=0;i<n.length;i++)r+='<link rel="stylesheet" type="text/css" href="'+n[i]+'"/>\n';return r},this.initialTemplate=function(e,t,n){var r=e.title,i=e.classNames,o=e.htmlNodeId,a=e.css,s=e.js,l="<!DOCTYPE html>\n";return l+="<html>\n",l+="<head>\n",l+='<meta charset="UTF-8">\n',l+="<title>"+r+"</title>\n",l+=t(a),l+="</head>\n",l+="<body>\n",l+='<div id="'+o+'" class="'+i+'"></div>\n',l+=n(s),l+="</body>\n",l+="</html>"},arguments.length>1)throw new Error("Please check you options and be sure to pass the correct params");this.options=o({},t)}return a(e,[{key:"apply",value:function(e){var t=this,n=this.options,r=this.cssHandler,i=this.jsHandler,o=n.filename,a=null;l.default.resolve(o)===l.default.normalize(o)&&(n.filename=l.default.relative(e.options.output.path,o)),e.plugin("emit",function(e,o){a=t.initialTemplate(n,r,i),e.assets[t.options.filename]={source:function(){return a},size:function(){return a.length}},o()})}}]),e}();t.default=u},function(e,t){e.exports=require("path")}])});