Skip to content

[Bug]: rsbuild fails to compile with compression-webpack-plugin #7891

@madiyetov

Description

@madiyetov

Version

System:
    OS: macOS 14.4.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 97.76 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh

Details

The rsbuild dev command run fails with [webpack-dev-middleware] [Error: × HookWebpackError: A Source-like object with a 'map' method must also provide an 'updateHash' method error if I add compression-webpack-plugin plugin.

Reproduce link

https://github.com/madiyetov/rspack-issue-repro

Reproduce Steps

added in the README file

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions