I've been attempting to integrate whammy.js into a project. The initial line in the source code is
window.Whammy = (function(){
yet, after running npm i and inspecting node_modules, I discovered
global.Whammy = (function(){
https://github.com/antimatter15/whammy/blob/master/whammy.js
{
...
"dependencies": {
"cordova": "^9.0.0",
"react": "^16.8.5",
"react-redux": "^5.0.6",
"redux": "^4.0.1",
"redux-actions": "^2.2.1",
"redux-thunk": "^2.2.0",
"whammy": "0.0.1"
},
...
Is there any insight as to what may be causing this discrepancy? I initially suspected webpack, but it doesn't seem like that's the issue.