Currently, since most consumers of this library will be using dist/yourls.js or dist/yourls.min.js this doesn't really matter as runtime dependencies are bundled with this library, but oopsy is under "devDependencies". This means that those importing YOURLS API as an ES6 module will be hitting issues as we haven't declared it properly.
Currently, since most consumers of this library will be using
dist/yourls.js
ordist/yourls.min.js
this doesn't really matter as runtime dependencies are bundled with this library, butoopsy
is under "devDependencies". This means that those importing YOURLS API as an ES6 module will be hitting issues as we haven't declared it properly.