I just had to use sweetalert2.all.min.js instead o...
# suitescript
k
I just had to use sweetalert2.all.min.js instead of sweetalert2.js