Skip to content

Commit

Permalink
Update src/content/guides/tree-shaking.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: zzzzp <[email protected]>
  • Loading branch information
Yucohny and zhper authored Dec 12, 2023
1 parent d5bd334 commit 618695f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/guides/tree-shaking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ module.exports = {
});
```

注意看上方的的 `unused harmony export square` 注释。仔细观察下面的代码会发现尽管没有引用 `square`,但它仍然被包含在 bundle 中。我们将在后面的章节解决这个问题。
注意看上方的 `unused harmony export square` 注释。仔细观察下面的代码会发现尽管没有引用 `square`,但它仍然被包含在 bundle 中。我们将在后面的章节解决这个问题。

## 将文件标记为无副作用(side-effect-free) $#mark-the-file-as-side-effect-free$

Expand Down

0 comments on commit 618695f

Please sign in to comment.