Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/guides/configuring-astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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) 将不会被解析。在该文件中,对模块的导入应使用相对路径。
:::

## 自定义输出文件名
Expand Down