- add all-in-one dist file
dist/sweetalert2.all.min.js
with CSS bundled into JS (#644) - throw a warning when Promise is not defined, DX improvement (#645)
This release was delivered by ninja master @samturrell 🍻
You can now import all-in-one file with JS + CSS:
import swal from 'sweetalert2/dist/sweetalert2.all.min.js'