Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

issue with Javascript Fetch call

anuj_pathak1
Level 3
Level 3

Does anyone know if AEM minification library supports java script fetch method , I tried using it with our Aem 6.4 environment but it breaks minification

Any help or suggestion welcomed

0 Replies
kautuk_sahni
Community Manager
Community Manager

Never used it, but AJEX worked perfectly fine for me. Any error that you are getting?

-Kautuk

Gaurav-Behl
Community Advisor
Community Advisor

Most likely an issue with the plugin that you're using. Try npm route if gcc doesn't work

Check -

Add missing semicolons to avoid minification issues · Issue #420 · github/fetch · GitHub

fetch-min - npm