From f6946085d84fa5b274309b8f0f5c1f724d3015d6 Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Mon, 26 Oct 2020 17:52:01 -0400 Subject: [PATCH] Use properly transpiled SweetAlert2 lib (#682) --- src/app/app.component.ts | 2 +- src/services/webPlatformUtils.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index fabd9294af..51853633a6 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,5 +1,5 @@ import * as jq from 'jquery'; -import Swal from 'sweetalert2/src/sweetalert2.js'; +import Swal from 'sweetalert2/dist/sweetalert2.js'; import { BodyOutputType, diff --git a/src/services/webPlatformUtils.service.ts b/src/services/webPlatformUtils.service.ts index 48a8a6a83e..0435725dfd 100644 --- a/src/services/webPlatformUtils.service.ts +++ b/src/services/webPlatformUtils.service.ts @@ -1,4 +1,4 @@ -import Swal, { SweetAlertIcon } from 'sweetalert2/src/sweetalert2.js'; +import Swal, { SweetAlertIcon } from 'sweetalert2/dist/sweetalert2.js'; import { DeviceType } from 'jslib/enums/deviceType';