diff options
| author | matt korwel <[email protected]> | 2025-07-25 12:25:32 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-25 19:25:32 +0000 |
| commit | 820105e982e594b1bcee46ab866a7c70e5795b34 (patch) | |
| tree | 124152666499b293fd4fa27dc7fc9e544d0baa70 /esbuild.config.js | |
| parent | 7ddbf97634e906d7c294bdf5a94dbe12419ee7c1 (diff) | |
Safer Shell command Execution (#4795)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: N. Taylor Mullen <[email protected]>
Diffstat (limited to 'esbuild.config.js')
| -rw-r--r-- | esbuild.config.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/esbuild.config.js b/esbuild.config.js index b7c7e56e..790f0758 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -33,5 +33,27 @@ esbuild banner: { js: `import { createRequire } from 'module'; const require = createRequire(import.meta.url); globalThis.__filename = require('url').fileURLToPath(import.meta.url); globalThis.__dirname = require('path').dirname(globalThis.__filename);`, }, + external: [ + 'es-toolkit/compat', + 'ansi-escapes', + 'auto-bind', + 'command-exists', + '@babel/code-frame', + 'cli-truncate', + 'cli-cursor', + '@alcalzone/ansi-tokenize', + 'cli-boxes', + 'code-excerpt', + 'chalk', + 'cli-spinners', + 'configstore', + 'gradient-string', + 'devlop', + 'escape-goat', + '@iarna/toml', + '@pnpm/npm-conf', + 'deep-extend', + 'ansi-align', + ], }) .catch(() => process.exit(1)); |
