ai / nanoid

A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript
https://zelark.github.io/nano-id-cc/
MIT License
24.22k stars 790 forks source link

Issue along with pkg 5.8.1 "Failed to make bytecode" #437

Closed AdrianBonpin closed 1 year ago

AdrianBonpin commented 1 year ago

There seems to be an issue with the current release when I try to package my application using PKG. it seems that it cannot create bytecode for

nanoid/index.js nanoid/url-alphabet/index.js

Does anyone know how I might be able to fix this or is this an issue with nanoid itself?

Reason for why I need nanoid docx.js uses nanoid and the api I'm using in it is paid in docxtemplater :((

AdrianBonpin commented 1 year ago

Found out it wasnt packing because it dropped suppport for CommonJS...