Skip to content

ProvidePlugin fails on occasion #336

@iby

Description

@iby

Relates to #335. This used to work awhile ago, currently I get a strange error saying jQuery is not found.

image

But if I add a simple console.log(jQuery) just before that, everything works fine and log prints out a function object:

image

It appears that the provided plugin is not recognised in assignments, in other cases this works fine.

var Deferred = jQuery.Deferred; // fails…
new jQuery.Deferred; // works…

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