From bcd3dcbc783251c0dfbe95b3f2d141c58bcae9bd Mon Sep 17 00:00:00 2001 From: 100gle Date: Mon, 1 Jan 2024 19:33:19 +0800 Subject: [PATCH] i18n(zh-cn): Update `guides/configuring-astro.mdx` --- src/content/docs/zh-cn/guides/configuring-astro.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/zh-cn/guides/configuring-astro.mdx b/src/content/docs/zh-cn/guides/configuring-astro.mdx index b8fdedd437364..ebc658ad4df5e 100644 --- a/src/content/docs/zh-cn/guides/configuring-astro.mdx +++ b/src/content/docs/zh-cn/guides/configuring-astro.mdx @@ -116,7 +116,7 @@ export default defineConfig({ ``` :::note -Vite 特定的 `import.meta` 属性,如 `import.meta.env` 或 `import.meta.glob`,*无法*在你的配置文件中访问。我们推荐使用 [dotenv](https://github.com/motdotla/dotenv) 或 [fast-glob](https://github.com/mrmlnc/fast-glob) 作为替代方案。 +Vite 特定的 `import.meta` 属性,如 `import.meta.env` 或 `import.meta.glob`,*无法*在你的配置文件中访问。我们推荐使用 [dotenv](https://github.com/motdotla/dotenv) 或 [fast-glob](https://github.com/mrmlnc/fast-glob) 作为替代方案。此外,[tsconfig 路径别名](https://www.typescriptlang.org/tsconfig#paths) 将不会被解析。在该文件中,对模块的导入应使用相对路径。 ::: ## 自定义输出文件名