_jsencrypt2.default is not a constructor
I use it with webpack like this: `import JSEncrypt from '../../static/js/jsencrypt/jsencrypt';
let encrypt = new JSEncrypt(); `
but it get an error code: _jsencrypt2.default is not a constructor
the same problem with me, sad
hi, try to install it via npm and use like this
https://github.com/llCorvinSll/RSA_test/blob/master/bench/src/bench/bench.ts
the right import way is : import { JSEncrypt } from 'jsencrypt'
the right import way is : import { JSEncrypt } from 'jsencrypt'
this usage would be a good addition to the 'how to use this library' section of the README
the right import way is : import { JSEncrypt } from 'jsencrypt'
Thankyou! ❤❤🧡🧡💗