You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm excited to see that MDN is using Rsbuild! The Rspack team would be more than happy to provide support for MDN.
Regarding loading env variables, I'd like to mention that Rsbuild offers a convenient way to load .env files. For example, you can simply enable env loading with:
Interestingly, I've been considering migrating from rsbuild to rspack, as we've been burned by "batteries included" build tools in the past (when we want to change those batteries!), it would be great to get your thoughts on an issue I've started for that over here: #15
Otherwise, you need to explicitly set your variables when starting the backend:
Something similar to what we have in content: env-cmd + cross-env, I guess.
I’d also recommend adding a sample file with the most likely content location pre-filled, so you can copy and rename it to make it work in seconds.
The text was updated successfully, but these errors were encountered: