Open seho-dev opened 1 year ago
How do I set the banner property of esbuild in this code:
banner
spawn(`node`, ['--loader', 'esbuild-register/loader', '-r', 'esbuild-register', '. /src/index.ts'], { stdio: 'inherit' }).
Trying to achieve the same effect as the following:
register({ banner: 'console.log('****')' }).
@egoist
https://github.com/egoist/esbuild-register/pull/89
How do I set the
banner
property of esbuild in this code:Trying to achieve the same effect as the following:
@egoist