Skip to content

Commit

Permalink
doc: update package.json.md. (jaywcjlove#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 11, 2022
1 parent 85071d3 commit 7a22e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/package.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ import sub from "mod/sub"
```

### 条件导出(exports)
<!--rehype:wrap-class=col-span-2-->
<!--rehype:wrap-class=col-span-2 row-span-2-->

:- | -
:- | -
Expand All @@ -405,7 +405,7 @@ import sub from "mod/sub"

<red>注意:</red>由于 `require``import` 互斥,所以 `require` 不能加载 `es` 的模块,`export` 不能加载 `cjs` 模块

### 导出和导入
### `main` Vs `exports`

```json
{
Expand Down

0 comments on commit 7a22e7c

Please sign in to comment.