Open kmgdevelopment opened 2 years ago
sounds like you are using top-level await
, which is now supported in version 5.2.2 when module: true
is specified.
sounds like you are using top-level
await
, which is now supported in version 5.2.2 whenmodule: true
is specified.
I think that's the problem
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.1