Comments (2)
Hi! astro:env/*
is a virtual module so it can only be accessed in a context where it's loaded by vite. It's not the case of the astro config file, use process.env.X
instead.
This has been asked several times but idk what we plan to do yet, feel free to subscribe to withastro/roadmap#894 as we'll talk about it next week
from astro.
Could you take a look at this? @florian-lefebvre :)
from astro.
Related Issues (20)
- Astro dev server not running with bun HOT 1
- Vite Config cspNonce HOT 2
- Custom lit converter not being called
- `astro check` checks `dist` HOT 1
- Cursor Flickers Between Pointer and Arrow During Route Transitions with `astro:transitions`
- Astro.slots.render() with arguments does not work with Astro component HOT 2
- Astro actions cookies broken, too large sometimes HOT 2
- import.meta.env.MODE resolved to "development" for production builds on build stage HOT 3
- Astro actions not validate fields without client side HOT 1
- Error building Astro project with 30k MDX files HOT 2
- Astro devToolbar throws "Uncaught TypeError: Illegal constructor" HOT 1
- i18n and rewrites do not output the right files HOT 3
- Build doesn't fail even though there are unhandled exceptions
- [Actions] Zod object.passthrough does not allow extra input keys/values
- Dynamic attribute isn't recognized by Tailwind unless there's at least one exact concrete implementation HOT 1
- Using React component inside MDX file fails with Container API HOT 1
- New build error - Astro 4.13.4 HOT 8
- Dynamic import and rendering of Framework component throws Could not render `ComponentName`. No matching import has been found for `ComponentName` HOT 3
- Server Islands does not seem to work with basepath HOT 6
- MDX with frontmatter reports errors on wrong line
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro.