dajiaji / hpke-js

A Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API.
https://dajiaji.github.io/hpke-js/docs
MIT License
63 stars 9 forks source link

Strange interaction with vercel/ncc #166

Closed OR13 closed 8 months ago

OR13 commented 1 year ago

When compiling this library with https://github.com/vercel/ncc

I get this error when trying to invoke methods

Error: Cannot find module './src/errors.js'

Reproduction can be found here:

Seems like it could be related to tsconfig, es modules or the vercel compiler...

OR13 commented 8 months ago

I've not encountered this recently, so I am closing