阅读背景:

html-webpack-plugin 详细配置

来源:互联网 

下面我们介绍一下该插件的配置项。查看源码我们会发现如下代码。

this.options = _.extend({
  template: path.join(__dirname, 'default_index.ejs'),
  templateParameters: templateParametersGenerator,
  filename: 'index.html',
  hash: false,
  inject: true,
  compile: true,
  favicon: false,
  minify: false,
  cache: true,
  showErrors: true,
  chunks: 'all',
  excludeChunks: [],
  chunksSortMode: 'auto',
  meta: {},
  title: 'Webpack App',
  xhtml: false
}, options);this.options =



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: