File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as UZIP from 'uzip';
22// eslint-disable-next-line import/no-cycle
33import lib from './index' ;
44import compress from './image-compression' ;
5- import { getNewCanvasAndCtx } from './utils' ;
5+ import { getNewCanvasAndCtx , isIOS } from './utils' ;
66import UPNG from './UPNG' ;
77import MaxCanvasSize from './config/max-canvas-size' ;
88
@@ -78,6 +78,7 @@ function generateLib() {
7878 isAutoOrientationInBrowser = imageCompression.isAutoOrientationInBrowser
7979 approximateBelowMaximumCanvasSizeOfBrowser = imageCompression.approximateBelowMaximumCanvasSizeOfBrowser
8080 getBrowserName = imageCompression.getBrowserName
81+ isIOS = ${ isIOS }
8182
8283 getNewCanvasAndCtx = ${ getNewCanvasAndCtx }
8384 CustomFileReader = FileReader
You can’t perform that action at this time.
0 commit comments