Skip to content

Commit

Permalink
fix: mark shelljs as external
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Feb 29, 2024
1 parent 2291c59 commit c753684
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ const {build} = await import('esbuild')
await build({
bundle: true,
entryPoints: ['./src/**/*.ts'],
external: [],
// Mark shelljs as an external dependency. Plugin-plugins v5 removes the shelljs dependency so we can remove
// this once that's been released.
external: ['shelljs'],
format: 'esm',
inject: ['./bin/cjs-shims.js'],
loader: {'.node': 'copy'},
Expand Down

0 comments on commit c753684

Please sign in to comment.