Skip to content

error in webpack5 "Invalid configuration object." #99

@xuych

Description

@xuych

[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.

  • configuration.plugins[1] misses the property 'apply'. Should be:
    function
    -> The run point of the plugin, required method.

"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0",
"webpack-merge": "^5.8.0"
"craco-antd": "^2.0.0",
colud this be fixed? Thanks any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions