Skip to content

Commit 6542812

Browse files
authored
docs: update Rspack links in README files (#48)
1 parent 130c766 commit 6542812

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ pluginAssetsRetry({
410410

411411
## Notes
412412

413-
When you use Assets Retry plugin, the Rsbuild injects some runtime code into the HTML and [Rspack Runtime](https://rspack.dev/misc/glossary#runtime), then serializes the Assets Retry plugin config, inserting it into the runtime code. Therefore, you need to be aware of the following:
413+
When you use Assets Retry plugin, the Rsbuild injects some runtime code into the HTML and [Rspack Runtime](https://rspack.rs/misc/glossary#runtime), then serializes the Assets Retry plugin config, inserting it into the runtime code. Therefore, you need to be aware of the following:
414414

415415
- Avoid configuring sensitive information in Assets Retry plugin, such as internal tokens.
416416
- Avoid referencing variables or methods outside of `onRetry`, `onSuccess`, and `onFail`.

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ pluginAssetsRetry({
408408

409409
## 注意事项
410410

411-
当你使用 Assets Retry 插件时,Rsbuild 会分别向 HTML 和 [Rspack Runtime](https://rspack.dev/zh/misc/glossary#runtime) 中注入运行时代码,并将 Assets Retry 插件配置的内容序列化后插入到这些代码中,因此你需要注意:
411+
当你使用 Assets Retry 插件时,Rsbuild 会分别向 HTML 和 [Rspack Runtime](https://rspack.rs/zh/misc/glossary#runtime) 中注入运行时代码,并将 Assets Retry 插件配置的内容序列化后插入到这些代码中,因此你需要注意:
412412

413413
- 避免在 Assets Retry 插件中配置敏感信息,比如内部使用的 token。
414414
- 避免在 `onRetry``onSuccess``onFail` 中引用函数外部的变量或方法。

0 commit comments

Comments
 (0)