约550行:

    if (!this.options.disableScript) {
      if (this.options.inject === 'head') {
        head = head.concat(scripts);
      } else {
        body = body.concat(scripts);
      }
    }

然后这样使用:

    new HtmlWebpackPlugin({
      disableScript: true,
      //...
    })

相关文章:

  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案