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
Unexpected token: name «fetch» #571
Comments
sounds like you are using top-level |
I think that's the problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I try to use
fetch
like so:let response = await fetch('https://domain.tld');
Uglify throws this error:
This old issue (#499) appears to be similar, but the solution is to use a grunt package that is currently marked as depreciated so
¯\_(ツ)_/¯
I'm using
grunt-contrib-uglify
version 5.2.1The text was updated successfully, but these errors were encountered: