esbuild-node-externals icon indicating copy to clipboard operation
esbuild-node-externals copied to clipboard

refactor: make zero deps pkg

Open antongolub opened this issue 1 year ago • 4 comments

  • build the plugin itself with esbuild, drop tslib
  • replace find-up with node API

antongolub avatar Sep 28 '24 14:09 antongolub

I tested that code manually in various scenarios when I wrote the logic.

Which ones exactly? I added a simple unit test for the new method, it can be extended.

antongolub avatar Oct 04 '24 19:10 antongolub

@antongolub iirc it was mostly in monorepos with various package managers and settings as it was creating some issues

pradel avatar Oct 14 '24 07:10 pradel

@pradel

We can publish a snapshot version for manual testing without merging this PR: https://github.com/pradel/esbuild-node-externals/pull/68

antongolub avatar Oct 29 '24 09:10 antongolub

@antongolub fyi I removed tslib in this pr https://github.com/pradel/esbuild-node-externals/pull/75

pradel avatar Feb 11 '25 08:02 pradel