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
Is it possible to turn off replacement of "global" #1683
Comments
see |
👍 |
This is the exact question I want to ask. |
probably this? |
thanks @zhaoshengjun ,but how? |
@stackOverMind Did you get a solution for your problem? We want to do the same in our project i.e. to instruct webpack to use 'window' object instead of 'this'. |
[node console: true or false |
I have a module with code like this:
The output from Webpack ends up looking something like this:
But I want to actually have the resulting code explicitly reference
global
rather than replacing it withfunction() { return this; }()
. How do I turn that off for this module?The text was updated successfully, but these errors were encountered: