keys.js icon indicating copy to clipboard operation
keys.js copied to clipboard

webpack support?

Open irobayna opened this issue 7 years ago • 1 comments

Any plans to support Webpack?

If I include the library via bower, works as expected but using webpack I am getting the following error:

keys.js:959 
Uncaught TypeError: Cannot read property 'addEventListener' of undefined

it seems the library being loaded by webpack does not get initialized properly -- global is null

irobayna avatar Apr 19 '17 15:04 irobayna

I'm not actively maintaining the project any longer, but I'd certainly be open to merging a PR which adds support for Webpack if you are interested in tackling it. Sorry for the trouble!

bitwalker avatar Apr 19 '17 16:04 bitwalker