sidp / konami-code

Small Javascript library to call functions when the user enters the Konami Code.
MIT License
0 stars 0 forks source link

Compile Warning #1

Closed KenCorbettJr closed 5 years ago

KenCorbettJr commented 5 years ago

The library works great, but seems to have some issue with Webpack.

When I include I get a warning



./node_modules/@sidp/konami-code/lib/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted```

I am not sure what is causing this but I am just using the default webpack build into create-react-app.
sidp commented 5 years ago

Thanks for the heads up! I'll release a new version to fix this warning shortly.