Skip to content

Rspack bundler support #9

@ild0tt0re

Description

@ild0tt0re

We were almost able to complete the transition from Webpack5 to the faster Rust-based web bundler Rspack except for an error due to this plugin: error[internal]: TypeError: compilation.chunkGroups is not iterable

error[internal]: TypeError: compilation.chunkGroups is not iterable
    at buildManifest (/Users/myuser/dev/my.project/node_modules/@react-loadable/revised/webpack.ts:49:39)
    at emit (/Users/myuser/dev/my.project/node_modules/@react-loadable/revised/webpack.ts:122:22)
    at eval (eval at create (/Users/myuser/dev/my.project/node_modules/tapable/lib/HookCodeFactory.js:75:10), <anonymous>:17:1)
    at new Promise (<anonymous>)
    at Hook.eval [as promise] (eval at create (/Users/myuser/dev/my.project/node_modules/tapable/lib/HookCodeFactory.js:75:10), <anonymous>:6:8)
    at Hook.PROMISE_DELEGATE [as _promise] (/Users/myuser/dev/my.project/node_modules/tapable/lib/Hook.js:22:14)
    at Compiler._Compiler_emit (/Users/myuser/dev/my.project/node_modules/@rspack/core/dist/Compiler.js:769:27)

would it be possible to make this plugin compatible with rspack?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions