Check in precompiled upload-lib.ts for testing environments

This commit is contained in:
Henry Mercer
2025-08-27 10:58:41 +01:00
parent d7c164044b
commit d2dfa8cd83
2 changed files with 95304 additions and 1 deletions

View File

@@ -61,7 +61,8 @@ const onEndPlugin = {
};
const context = await esbuild.context({
entryPoints: globSync([`${SRC_DIR}/*-action.ts`, `${SRC_DIR}/*-action-post.ts`]),
// Include upload-lib.ts as an entry point for use in testing environments.
entryPoints: globSync([`${SRC_DIR}/*-action.ts`, `${SRC_DIR}/*-action-post.ts`, "src/upload-lib.ts"]),
bundle: true,
format: "cjs",
outdir: OUT_DIR,

95302
lib/upload-lib.js generated Normal file

File diff suppressed because one or more lines are too long