@jjlmoya/utils-converters 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -352,7 +352,8 @@ const acceptInput = (from || 'jpg') === 'svg' ? '.svg' : 'image/*';
|
|
|
352
352
|
processSvgToRaster,
|
|
353
353
|
} from './logic/converter';
|
|
354
354
|
import type { ConversionItem, ImageFormat } from './logic/converter';
|
|
355
|
-
import
|
|
355
|
+
import * as JSZipModule from 'jszip';
|
|
356
|
+
const JSZip = JSZipModule.default || JSZipModule;
|
|
356
357
|
|
|
357
358
|
const dropZone = document.getElementById('converter-drop-zone');
|
|
358
359
|
const fileInput = document.getElementById('converter-input') as HTMLInputElement;
|