Skip to content

Breaks html-webpack-plugin #4

@Munter

Description

@Munter

When split-by-name-webpack-plugin is active it breaks html-webpack-plugin, which then says html-files emitted no html.

This cost me quite a lot of time and mistargeted frustration. I ended up getting https://github.com/BohdanTkachenko/webpack-split-by-path to work instead.

I hope there is a way to fix this so people won't report bug on the wrong repository

Example config that triggers the error:

{
  plugins: [
    new SplitByNamePlugin({
      buckets: [
        {
          name: 'vendor',
          regex: /vendor\//
        }
      ]
    },

    new HtmlWebpackPlugin({
      template: 'src/index.html'
    }),
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions