Skip to content

Unpin webpack aka. support newer versions #39365

@Schweinepriester

Description

@Schweinepriester

Preliminary Checks

Description

In package gatsby dependency webpack is pinned to specific minor version "~5.98.0".

It was pinned in #39264, so the bug is more to fix whatever caused it to be pinned, i.e. make Gatsby compatible with newer versions of Webpack, and then unpin.

Reproduction Link

"webpack": "~5.98.0",

Steps to Reproduce

  1. Check package gatsby package.json:
    "webpack": "~5.98.0",
  2. It's pinned "webpack": "~5.98.0"

Expected Result

"webpack": "^5.98.0"

Actual Result

"webpack": "~5.98.0"

Environment

Any

Config Flags

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: triage neededIssue or pull request that need to be triaged and assigned to a reviewertype: bugAn issue or pull request relating to a bug in Gatsby

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions