redis-semaphore icon indicating copy to clipboard operation
redis-semaphore copied to clipboard

Build for ES

Open Hey opened this issue 1 year ago • 1 comments

Problem

I am trying to use this package in an ES project but it looks like this package is currently only building for commonjs.

image image

Fix

I have added the build-es to the build script and I added a prepack to ensure it's always built before we pack & publish. Would be great if you can merge and publish these changes.

Hey avatar Apr 28 '23 12:04 Hey

ES modules build is not ready yet. There are some more requirements to get this done https://www.typescriptlang.org/docs/handbook/esm-node.html

swarthy avatar Jun 16 '23 02:06 swarthy