-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The library cannot be minified and used in the browser #13
Comments
For more info on why Im using it in the browser: Im using it in a Chrome Extension to allow a user to post github issues to Upwork as a job: I'm trying to avoid the use of a server if at all possible (I don't want to store credentials for Upwork as it links to peoples credit cards/ bank accounts, etc). I'd also prefer to use an official client library rather than my own home rolled one (usually have better support for newer apis, etc). The other alternative is that I make the modifications necessary to support this and issue a pull request if you're ok with that? |
the library was developed as a backend one |
Hi there, pkginfo is also crashing our backend build with webpack.
|
We will take a closer look when it's possible. There is no ETA for this. |
@giorgio-zamparelli its easier to just fork it, make your changes and publish your own version. 👍 Thats what I did, works like a charm. |
- Update lodash dependency to >=4.17.13 (secufity fix) - Fix GitHub issue #13
Fixed in |
The use of
pkginfo
is preventing the api from being used by applications that run in the browser. A simple way of fixing this it to require thepackage.json
directly and using that to pull info from. Then when browserify or webpack encounter therequire
they will import it as expected.The text was updated successfully, but these errors were encountered: