2.0.28 • Published 2 years ago
wh-build-system v2.0.28
zCloak SDK V2.0.0
New
- support multiple attesters
Targets (Framework)
- Minimal build system config(npm, babel, jest, eslint..)
- All in one package (no need to manage differents version of different sub packages)
- Remove non-EVM crypto packages and remain dependencies upgradable
- Add cli command
- Add Rust (or Go) language support
调研兼容commonjs+esm过程
- 参考
- 只在package.json中添加main和module,因为我一直在node环境中,所以一直调用的commonjs模块
- 后来想了一下只有在网页才会引用esm,本来准备打算用webpack,后来想起来react不是可以直接引用esm么,那肯定react本身集成了这些,直接用create react app来引用做测试
- 接着发现必须
export { greet } from './greeting.js';
而不是export { greet } from './greeting';
具体不知道原因(我是用babel生成的呀!),但起码现在我的包兼容了两个模块系统了! - 一个简单的办法,修改index.ts就好了,生成的时候就会带
.js
2.0.28
2 years ago
2.0.27
2 years ago
2.0.26
2 years ago
2.0.25
2 years ago
2.0.24
2 years ago
2.0.23
2 years ago
2.0.22
2 years ago
2.0.21
2 years ago
2.0.20
2 years ago
2.0.19
2 years ago
2.0.18
2 years ago
2.0.17
2 years ago
2.0.16
2 years ago
2.0.15
2 years ago
2.0.14
2 years ago
2.0.13
2 years ago
2.0.12
2 years ago
2.0.11
2 years ago
2.0.10
2 years ago
2.0.9
2 years ago
2.0.8
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.0
2 years ago