Skip to content

Commit 00afab0

Browse files
authored
docs(cn): fix the translation of "publicPath"
1 parent 0f786c4 commit 00afab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/configuration/output.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2029,7 +2029,7 @@ T> 这些注释也会被添加至经过 tree shaking 后生成的 bundle 中。
20292029

20302030
此选项指定在浏览器中所引用的「此输出目录对应的**公开 URL**」。相对 URL(relative URL) 会被相对于 HTML 页面(或 `<base>` 标签)解析。相对于服务的 URL(Server-relative URL),相对于协议的 URL(protocol-relative URL) 或绝对 URL(absolute URL) 也可是可能用到的,或者有时必须用到,例如:当将资源托管到 CDN 时。
20312031

2032-
该选项的值是以 runtime(运行时) 或 loader(载入时) 所创建的每个 URL 为前缀。因此,在多数情况下,**此选项的值都会以 `/` 结束**。
2032+
该选项的值是以 runtime(运行时) 或 loader(载入时) 所创建的每个 URL 的前缀。因此,在多数情况下,**此选项的值都会以 `/` 结束**。
20332033

20342034
规则如下:[`output.path`](#outputpath) 中的 URL 以 HTML 页面为基准。
20352035

0 commit comments

Comments
 (0)