Skip to content

Commit 98c7c75

Browse files
authored
fix: export utility functions (#165)
1 parent 74ce895 commit 98c7c75

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

deno.jsonc

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"exports": {
55
".": "./mod.ts",
66
"./async": "./src/async.ts",
7+
"./utils": "./src/utils.ts",
78
"./providers/appwrite": "./src/providers/appwrite.ts",
89
"./providers/astro": "./src/providers/astro.ts",
910
"./providers/builder.io": "./src/providers/builder.io.ts",

scripts/build_npm.ts

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ await build({
3636
path: "./src/transform.ts",
3737
name: "./transform",
3838
},
39+
{
40+
path: "./src/utils.ts",
41+
name: "./utils",
42+
},
3943
...entry,
4044
],
4145
outDir: "./npm",

src/utils.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ProviderOperations, ProviderOptions } from "./providers/types.ts";
2-
import {
3-
type ImageCdn,
2+
import type {
3+
ImageCdn,
44
OperationFormatter,
55
OperationMap,
66
OperationParser,

0 commit comments

Comments
 (0)