(options)
| 10 | Promise.promisifyAll(fs); |
| 11 | |
| 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 | } |
| 30 | |
| 31 | HtmlWebpackPlugin.prototype.apply = function (compiler) { |
| 32 | var self = this; |
nothing calls this directly
no outgoing calls
no test coverage detected