Support build different targets

This commit is contained in:
redphx
2024-04-25 17:26:47 +07:00
parent 02bd375fc8
commit 9a18d1697e
4 changed files with 52 additions and 26 deletions

8
src/build-config.ts Normal file
View File

@@ -0,0 +1,8 @@
const BuildConfig = {
TARGET: Bun.env.BUILD_TARGET,
};
export const getBuildConfig = () => {
console.log(BuildConfig);
return BuildConfig;
};