issue with Javascript Fetch call

Avatar

Avatar

anuj_pathak1

Avatar

anuj_pathak1

anuj_pathak1

05-08-2019

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

Replies

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

959

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

959

Correct Answer

1.1K
kautuk_sahni
Community Manager

26-08-2019

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

-Kautuk

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

26-08-2019

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