Every line of 'htmlwebpackplugin options title' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
12 function HtmlWebpackPlugin (options) { 13 // Default options 14 this.options = _.extend({ 15 template: path.join(__dirname, 'default_index.ejs'), 16 filename: 'index.html', 17 hash: false, 18 inject: true, 19 compile: true, 20 favicon: false, 21 minify: false, 22 cache: true, 23 showErrors: true, 24 chunks: 'all', 25 excludeChunks: [], 26 title: 'Webpack App', 27 xhtml: false 28 }, options); 29 }
141 function optionHTML(option) { 142 var value = option[0]; 143 var name = option[1]; 144 if (value != null) 145 return format('', 146 value, name); 147 return format('', name); 148 }