Skip to content

missing dependency (html-minifier) #1311

Description

@obartra

Expected behaviour

Webpack build succeeds

Current behaviour

Webpack build fails, requiring "html-minifier" from "html-webpack-plugin"

ERR!   Error: Cannot find module 'html-minifier'
ERR!   Require stack:
ERR!   - /myproject/node_modules/html-webpack-plugin

Manually installing html-minifier fixes the issue

Environment

On html-webpack-plugin@4.0.0-beta.10, webpack@4.41.2, node@12.13.0, npm@6.12.0

Config

NA

Relevant Links

NA

Additional context

I suspect adding html-minifier to html-webpack-plugin dependencies would fix the issue, happy to contribute if that's the desired change

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