Skip to content

npm v1.1.5 errors with "Version 2.x only supports webpack 5" #290

Closed
@sean256

Description

@sean256

Environment and package version

webpack: v4.x
html-inline-script-webpack-plugin: v1.1.5

Reproduction link / code sample

No need to actually run a build, just look at the code for index.js npm installs:

npm i html-inline-script-webpack-plugin@^1 -D
cat node_modules/html-inline-script-webpack-plugin/dist/index.js

Or download directly: https://registry.npmjs.org/html-inline-script-webpack-plugin/-/html-inline-script-webpack-plugin-1.1.5.tgz

What is expected?

It should not claim to be version 2 and should not claim that webpack 5 is required

What is actually happening?

It claims to be v2

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