Open luenmuvel opened 4 years ago
I have installed the crypto-js library to use it from the browser in a project created with Rollup. I can't use the library. In my JS code I have:
import hmacSHA512 from 'crypto-js/hmac-sha512'; import Base64 from 'crypto-js/enc-base64';
I get an error:
Maybe you can try crypto-es, it natively supports ES6 imports .
I have installed the crypto-js library to use it from the browser in a project created with Rollup. I can't use the library. In my JS code I have:
I get an error: