-
Notifications
You must be signed in to change notification settings - Fork 305
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
install in browser not work #130
Comments
works, include index.js datei local and remove the module line |
I should update the link in the readme — the new working one is https://cdn.jsdelivr.net/npm/pixelmatch@5.3.0 |
thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry to bother you again
I can't install it for my brwoser
<script src="https://bundle.run/pixelmatch"></script>if i embed
it didn't work. the path not exist
So i downlaod the last release and add this path
<script type="text/javascript" src="myserver/js/pixelmatch/bin/pixelmatch"></script>i only get a error massage:
const PNG = require('pngjs').PNG;
ReferenceError: require is not defined
The text was updated successfully, but these errors were encountered: