Skip to content

Commit

Permalink
Merge pull request #22 from nathanjhood/feat/script_build
Browse files Browse the repository at this point in the history
Feat/script build
  • Loading branch information
nathanjhood authored Oct 1, 2024
2 parents 19c3d81 + f014e23 commit d5d6dae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config/esbuild/getBuildOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ const getBuildOptions: getBuildOptions = (

export = getBuildOptions;

if (require.main === module) {
((
proc: NodeJS.Process,
env: 'development' | 'production' | 'test',
Expand All @@ -183,7 +184,8 @@ export = getBuildOptions;

//
const result = getBuildOptions(proc, env);
global.console.log(result);
// global.console.log(result);
return result;
//
})(global.process, 'development');
}

0 comments on commit d5d6dae

Please sign in to comment.