Skip to content

throw "ERROR in Conflict" with more than 1 HtmlWebpackPlugins in webpack5 #235

@leon776

Description

@leon776

with more than 1 HtmlWebpackPlugins:

    plugins: [
      ...,
      new HtmlWebpackPlugin(1),
      new HtmlWebpackPlugin(2),
      {
              new AddAssetHtmlPlugin([
                  {
                      filepath: path.join(__dirname, './dll/*.js'),
                  },
              ]),
      }
    ]

will trhow “ERROR in Conflict: Multiple assets emit different content to the same filename vue-02dfcf89779a85de8c7c.dll.js“

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions