mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 09:06:01 +00:00
dev: add main inject plugin
This commit is contained in:
@@ -21,6 +21,7 @@ const result = await Bun.build({
|
||||
outdir: "./dist/cli",
|
||||
env: "PUBLIC_*",
|
||||
minify: true,
|
||||
banner: `const __originalLog=console.log;console.log=(...o)=>{const n=o[0];"string"==typeof n&&n.includes("[dotenv@")||__originalLog.apply(console,o)};`,
|
||||
external,
|
||||
define: {
|
||||
__isDev: "0",
|
||||
|
||||
Reference in New Issue
Block a user