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
IE11 Syntaxerror #405
Comments
I have no idea how Angular 6 build process looks, but you should compile it using the same Babel config that you use to compile your own code. You can also use webpack module.exports = {
//...
resolve: {
alias: {
signature_pad: 'signature_pad/dist/signature_pad.js'
}
}
}; |
Thank you for your quick response. |
Try to import in this way: |
function download(dataURL, filename) {
} |
@sdqwerty's workaround worked for me. However, it's worth noting that webpack has a field called mainFields which defaults to @szimek I recommend you update package.json to include a browser field as per npm's recommendations here: That should clear up these IE11 issues. |
This worked for me:
And with Laravel-Mix:
|
v3.0.0-beta.4 compiled version does not support IE11 because of |
Closed because fixed? |
Closed because ie11 is no longer supported |
For those who find this in the future, Babel is able to transpile this too resolve the issue. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I've included "signature_pad": "^3.0.0-beta.3" in angular6 via package.json
It's working well in all Browsers, but on IE11 the website can not be loaded due to an error.
"Syntaxerror" without any description what's wrong.
The text was updated successfully, but these errors were encountered: