Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

passing in the window object #133

Open
z1haze opened this issue Sep 26, 2017 · 0 comments
Open

passing in the window object #133

z1haze opened this issue Sep 26, 2017 · 0 comments

Comments

@z1haze
Copy link

z1haze commented Sep 26, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant