Skip to content

Commit

Permalink
doc: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Feb 21, 2024
1 parent 56d0ade commit a3a5627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contents/zh/basics/release-note/5-5-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- 在子目录中添加了一些只包含 `"type": "commonjs"``package.json` 文件

这些改变意味着,像 `echarts/core.js` 这样的文件现在可以在像纯 Node.js、vitest、jest 和 create-react-app 这样的环境中解析为 ESM。
请注意,如果使用 `exports`,那么在 `exports` 中未声明的文件将无法从外部访问。此外,路径必须以 `.'` 开头。
请注意,如果使用 `exports`,那么在 `exports` 中未声明的文件将无法从外部访问。此外,路径必须以 `'.'` 开头。

我们还确保了这个新功能与各种环境兼容,包括运行时(Node.js/vitest/jest(create-react-app)/ssr/…)和打包器(webpack/rollup/vite/esbuild/…)。

Expand Down

0 comments on commit a3a5627

Please sign in to comment.