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';
2
2
// eslint-disable-next-line import/no-cycle
3
3
import lib from './index' ;
4
4
import compress from './image-compression' ;
5
- import { getNewCanvasAndCtx } from './utils' ;
5
+ import { getNewCanvasAndCtx , isIOS } from './utils' ;
6
6
import UPNG from './UPNG' ;
7
7
import MaxCanvasSize from './config/max-canvas-size' ;
8
8
@@ -78,6 +78,7 @@ function generateLib() {
78
78
isAutoOrientationInBrowser = imageCompression.isAutoOrientationInBrowser
79
79
approximateBelowMaximumCanvasSizeOfBrowser = imageCompression.approximateBelowMaximumCanvasSizeOfBrowser
80
80
getBrowserName = imageCompression.getBrowserName
81
+ isIOS = ${ isIOS }
81
82
82
83
getNewCanvasAndCtx = ${ getNewCanvasAndCtx }
83
84
CustomFileReader = FileReader
You can’t perform that action at this time.
0 commit comments