You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@richardscarrott
Thanks you very much for posting you solution, it worked for me.
@sokra
@d3viant0ne
Could please add this to the readme as a caveat, saying that this loader will of course not work if the module is excluded by noParse option (which is not ideal btw.)
I'm using the expose loader like this:
With the following
webpack.config
:The module compiles down to:
so even if I change global to window it'll error out on the require call.
What I imagine it should compile down to is:
I'm struggling to work out how I'd achieve this or what I'm doing wrong, any ideas?
The text was updated successfully, but these errors were encountered: