Skip to content

Commit

Permalink
fix: export utility functions (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored Feb 3, 2025
1 parent 74ce895 commit 98c7c75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"exports": {
".": "./mod.ts",
"./async": "./src/async.ts",
"./utils": "./src/utils.ts",
"./providers/appwrite": "./src/providers/appwrite.ts",
"./providers/astro": "./src/providers/astro.ts",
"./providers/builder.io": "./src/providers/builder.io.ts",
Expand Down
4 changes: 4 additions & 0 deletions scripts/build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ await build({
path: "./src/transform.ts",
name: "./transform",
},
{
path: "./src/utils.ts",
name: "./utils",
},
...entry,
],
outDir: "./npm",
Expand Down
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ProviderOperations, ProviderOptions } from "./providers/types.ts";
import {
type ImageCdn,
import type {
ImageCdn,
OperationFormatter,
OperationMap,
OperationParser,
Expand Down

0 comments on commit 98c7c75

Please sign in to comment.