JuneAndGreen / sm-crypto

国密算法js版
MIT License
943 stars 255 forks source link

webpack的libraryTarget类型 #48

Closed pronebel closed 3 years ago

pronebel commented 3 years ago

建议webpack中的 libraryTarget: 'window',改成 umd 这样支持多种前端的模块使用场景

JuneAndGreen commented 3 years ago

sm-crypto@0.3.3 已调整,有必要的话开发者也可以直接饮用 src 中的源码进行处理。