pace
pace copied to clipboard
module not defined
It seems that when you have an object called "exports" defined, pace.js tries to set a property on a module
. In my case module
does not exist, so there's a console error.
I think that line 978: https://github.com/CodeByZach/pace/blob/2350e563a7c899deb2b93903bee7164921018b2b/pace.js#L978-L980
should be changed to typeof module
since that appears to be the purpose anyways (set the property "exports" on the object "module")
Am I missing something here?
Thanks!