- 需要测试用例进行单元测试
- [接入storebook]
- [react]
- 为什么webpack不支持esm模式的打包? webpack5中可能会支持 原因以及plugin webpack和plugin对比
- ts + rollup 总结
- rollup plugin 需要注意顺序
- peerDependencies 发布后才有效的样子,本地的时候需要本地安装到devDependencies
- .babelrc不会载入了..
- 为什么安装之后的node_modules空荡荡? lerna将依赖移到了根目录下,然后具体的包增加了软链
- jest需要babel 判断是否为test环境,然后取消module: false
- babel-core的问题
- .vue和typescript需要babel-jest和vue-jest支,ts需添加:allowJs
- 至少有一个test(it)
- generate type file => tsc --declaration xx.ts