@aidc/utils
Advanced tools
Comparing version 0.2.26 to 0.2.27
@@ -9,3 +9,3 @@ /* | ||
import { isChromeScript } from "../env"; | ||
import { isChromeScript, isWindow } from "../env"; | ||
@@ -15,3 +15,3 @@ // check lossy attribute | ||
function checkWebpFeature() { | ||
if (isChromeScript) return; | ||
if (!isWindow || isChromeScript) return; | ||
var img = new Image(); | ||
@@ -18,0 +18,0 @@ img.onload = function () { |
{ | ||
"name": "@aidc/utils", | ||
"version": "0.2.26", | ||
"version": "0.2.27", | ||
"repository": "git@gitlab.alibaba-inc.com:aidc-innovation/aidc-fe.git", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
20452