Skip to content

Commit

Permalink
i18n(es): update configuring-astro.md (withastro#2004)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Zuniga Cuellar <[email protected]>
  • Loading branch information
dreyfus92 and kevinzunigacuellar authored Nov 6, 2022
1 parent b9bd7ec commit 390713f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/es/guides/configuring-astro.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ export default defineConfig({
publicDir: new URL("./public", import.meta.url),
})
```
:::note
Propiedades específicas de `import.meta` de Vite, como `import.meta.env` o `import.meta.glob`, _no_ son accesibles desde tu archivo de configuración. Recomendamos alternativas como [dotenv](https://github.com/motdotla/dotenv) o [fast-glob](https://github.com/mrmlnc/fast-glob) para estos respectivos casos de uso.
:::
## Personalización de nombres de archivos compilados
Expand Down

0 comments on commit 390713f

Please sign in to comment.