Skip to content

Webpack 5's "getOptions" is missing #106

@ef4

Description

@ef4

Expected Behavior

Loaders that use webpack 5's this.getOptions() API should work with thread-loader.

See webpack/webpack#10017

Actual Behavior

this.getOptions is undefined.

How Do We Reproduce?

Pick any loader that uses getOptions from loader-utils and modify it to use this.getOptions instead. That works when using webpack 5 without thread-loader, but fails when used behind thread-loader.

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