Skip to content

Peer dependency of required module is not bundled #24

@JakubMatejka

Description

@JakubMatejka

Hi, I use request-promise package which has peer dependency on request but only request-promise is bundled and request is missing. I used default nodeExternals() setup and switched to nodeExternals({ modulesFromFile: true }) but it is still the same (althoug I have both request and request-promise in dependencies of my package.json).

So I have to require the request in my code even if I don't use it directly. Have I forgotten to setup something or it is a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions