favgen 0.2.1 → 0.2.2

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.
@@ -0,0 +1,3 @@
1
+ export { default as produceIcons } from "./generator.js";
2
+ export { default as favgenVitePlugin } from "./vite-plugin.js";
3
+ export type { FavgenVitePluginOptions } from "./vite-plugin.js";
package/lib/index.mjs ADDED
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.favgenVitePlugin = exports.produceIcons = void 0;
7
+ var generator_js_1 = require("./generator.js");
8
+ Object.defineProperty(exports, "produceIcons", { enumerable: true, get: function () { return __importDefault(generator_js_1).default; } });
9
+ var vite_plugin_js_1 = require("./vite-plugin.js");
10
+ Object.defineProperty(exports, "favgenVitePlugin", { enumerable: true, get: function () { return __importDefault(vite_plugin_js_1).default; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "favgen",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "CLI tool to generate a set of favicons from a single input file.",
5
5
  "keywords": [
6
6
  "favicon"
@@ -10,7 +10,15 @@
10
10
  "homepage": "https://github.com/favgen/favgen",
11
11
  "repository": "https://github.com/favgen/favgen.git",
12
12
  "main": "lib/index.js",
13
+ "module": "lib/index.mjs",
13
14
  "types": "lib/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "import": "./lib/index.mjs",
18
+ "require": "./lib/index.js",
19
+ "types": "./lib/index.d.ts"
20
+ }
21
+ },
14
22
  "bin": "bin/index.js",
15
23
  "files": [
16
24
  "lib/",