favgen 0.2.3 → 0.2.4
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/lib/index.d.mts +4 -2
- package/lib/index.mjs +11 -2
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import produceIconsImport from "./generator.js";
|
|
2
|
+
import favgenVitePluginImport from "./vite-plugin.js";
|
|
3
|
+
export declare const produceIcons: typeof produceIconsImport;
|
|
4
|
+
export declare const favgenVitePlugin: typeof favgenVitePluginImport;
|
|
3
5
|
export type { FavgenVitePluginOptions } from "./vite-plugin.js";
|
package/lib/index.mjs
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import produceIconsImport from "./generator.js";
|
|
2
|
+
import favgenVitePluginImport from "./vite-plugin.js";
|
|
3
|
+
function normalizeDefaultExport(mod) {
|
|
4
|
+
return (typeof mod === "object" &&
|
|
5
|
+
mod !== null &&
|
|
6
|
+
"default" in mod)
|
|
7
|
+
? mod.default
|
|
8
|
+
: mod;
|
|
9
|
+
}
|
|
10
|
+
export const produceIcons = normalizeDefaultExport(produceIconsImport);
|
|
11
|
+
export const favgenVitePlugin = normalizeDefaultExport(favgenVitePluginImport);
|