Skip to content

[webpack 5] Yarn v2 can't resolve file loader in docs plugin #4778

@RDIL

Description

@RDIL

🐛 Bug Report

On webpack 5, Yarn 2 can't resolve file-loader when building docs.

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

Clone https://github.com/rdilweb/rdil.rocks and update the Docusaurus version in the /docs project - then yarn && yarn build.

Expected behavior

Build passes.

Actual Behavior

file-loader not found error.

Your Environment

Reproducible Demo

https://github.com/rdilweb/rdil.rocks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its execution

    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