Skip to content

Commit d2dfa8c

Browse files
committed
Check in precompiled upload-lib.ts for testing environments
1 parent d7c1640 commit d2dfa8c

File tree

2 files changed

+95304
-1
lines changed

2 files changed

+95304
-1
lines changed

build.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ const onEndPlugin = {
6161
};
6262

6363
const context = await esbuild.context({
64-
entryPoints: globSync([`${SRC_DIR}/*-action.ts`, `${SRC_DIR}/*-action-post.ts`]),
64+
// Include upload-lib.ts as an entry point for use in testing environments.
65+
entryPoints: globSync([`${SRC_DIR}/*-action.ts`, `${SRC_DIR}/*-action-post.ts`, "src/upload-lib.ts"]),
6566
bundle: true,
6667
format: "cjs",
6768
outdir: OUT_DIR,

0 commit comments

Comments
 (0)