This commit is contained in:
Nour Alharithi
2024-12-17 09:21:03 -08:00
parent d8b79bfbd3
commit a837c81a08

View File

@@ -19,10 +19,10 @@ const commonConfig = {
}; };
(async () => { (async () => {
let entryPoints = await glob("./src/**/*.ts"); let entryPoints = await glob("./src/*.ts", { filesOnly: true });
await esbuild.build({ await esbuild.build({
...commonConfig, ...commonConfig,
entryPoints, entryPoints,
outdir: 'lib', outdir: 'lib',
}); });
})().catch(() => process.exit(1)); })().catch(() => process.exit(1));