Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

passing in the window object #133

@z1haze

Description

@z1haze

Hey, I've inherited a project that is using your plugin, and I've caused somewhat of an error while updating the webpack configurations, and some other things. To give a bit of backstory, We are requiring jquery in our entry point, but assigning it to the window, so then jquery is globally accessible from all files without having to require it for each one.

Anyway - I ran into a problem, where after I've updated webpack, its telling me that what 'window' var that is passed in in undefined, and I'm not sure why. But I dont really think you even need to pass in the window object, because its globally available anyway, right?

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