Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -666,7 +666,7 @@ export default {
### 关于 dependencies、peerDependencies 和 external

1. cjs 和 esm 格式打包方式选 rollup 时有个约定,dependencies 和 peerDependencies 里的内容会被 external
2. esm.mjs 和 umd 格式,只有 peerDenendencies 会被 external
2. esm.mjs 和 umd 格式,只有 peerDependencies 会被 external
3. 打包方式 babel 时无需考虑 external,因为是文件到文件的编译,不处理文件合并

### 关于 babel 模式

0 comments on commit 245a681

Please sign in to comment.