Skip to content

Remove peerDependency on Webpack #175

@mattvagni

Description

@mattvagni

I'm currently using mini-css-extract-plugin within an NPM dependency and am running into issues due to it specifying Webpack as a peerDependency. NPM unfortunately hoists it to the root where the Webpack version may be different per project.

I was wondering how come I don't have this issue with style-loader and other popular loaders and noticed that they don't seem to specify a peer on Webpack at all.

Could we make the same change here? I'd be happy to open a PR if you think this is ok. I realise this is not an issue per se with mini-css-extract-plugin so I thought I'd open an issue first.

Thanks

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