Comparing version 6.1.2 to 6.1.3
{ | ||
"name": "gennyflow", | ||
"version": "6.1.2", | ||
"version": "6.1.3", | ||
"description": "Easily download one or more DOM elements as images in Webflow", | ||
@@ -5,0 +5,0 @@ "main": "src/index.ts", |
@@ -19,8 +19,10 @@ import { defineConfig } from "vite"; | ||
generateBundle(outputOptions, bundle) { | ||
Object.keys(bundle).forEach((fileName) => { | ||
const file = bundle[fileName]; | ||
if (fileName.slice(-3) === ".js" && "code" in file) { | ||
file.code = `(() => {\n${file.code}})()`; | ||
} | ||
}); | ||
if (outputOptions.format === "umd") { | ||
Object.keys(bundle).forEach((fileName) => { | ||
const file = bundle[fileName]; | ||
if (fileName.slice(-3) === ".js" && "code" in file) { | ||
file.code = `(() => {\n${file.code}})()`; | ||
} | ||
}); | ||
} | ||
}, | ||
@@ -27,0 +29,0 @@ }, |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
977858
8995
8