travist / jsencrypt

A zero-dependency Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation.
http://www.travistidwell.com/jsencrypt
Other
6.68k stars 2.02k forks source link

@3.3.2 linux public Rollup failed to resolve import #311

Closed saozhu2333 closed 6 months ago

saozhu2333 commented 6 months ago

Packaging in Linux can cause issues vite+vue3+ts ff86ca58e6ed0e3b840a30034a4409df

saozhu2333 commented 6 months ago

I did not use it correctly. The name generated by import is in uppercase letters, which is different from the name in node.modules

suka233 commented 1 month ago

Same issue here,use import JSEncrypt from 'jsencrypt' instead of import JSEncrypt from 'JSEncrypt'