npm install crypto-js 之后, AES 加解密在开发环境是可以用的,但是打包成 mobile 版本时报错:
[Build] [build-script]ModuleNotFoundError: (i18n needed)resolve_error_module_not_found: {“specifier”:“crypto”,“parentURL”:“file:///xxx/demo_project/node_modules/crypto-js/core.js”}
查阅论坛资料有提到 官方放弃了对 crypto-js 的支持。
那么请教一下,生产环境大家怎么解决这个问题?
感谢官方以及各位高手~
