We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for the library! Would be great if we could do the following:
import "hidpi-canvas" const canvas = document.createElement('canvas') // will render in high resolution // ...
Which would work with any asset bundler, such as webpack.
The benefit from this is that you don't need bower, as you can just keep your dependencies up-to-date with npm.
bower
npm
The text was updated successfully, but these errors were encountered:
For sure! Any ideas on what is keeping this from working today? Maybe we just need a main entry in our package.json?
main
package.json
If you want to experiment with how, I'd welcome a PR 👍
Sorry, something went wrong.
All right. Unfortunately don't have much time right now, but I highly suspect that a missing main in package.json is indeed to blame.
No branches or pull requests
Thanks for the library! Would be great if we could do the following:
Which would work with any asset bundler, such as webpack.
The benefit from this is that you don't need
bower
, as you can just keep your dependencies up-to-date withnpm
.The text was updated successfully, but these errors were encountered: