Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(vite): consolidate resolve alias into single definition

Steven Enamakela59014117f17
diff --git a/app/vite.config.ts b/app/vite.config.ts
index 851a4ca130..c4af89bf50 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -106,11 +106,6 @@ const isWebTarget = buildTarget === "web";
// https://vite.dev/config/
export default defineConfig(async () => ({
root: "src",
- resolve: {
- alias: {
- "@": resolve(__dirname, "src"),
- },
- },
publicDir: "../public",
// Read env files from the repo root (not `app/src/`, which is the vite
// `root` and would be the default `envDir`). Lets `pnpm dev:app` pick up
@@ -212,6 +207,7 @@ export default defineConfig(async () => ({
},
resolve: {
alias: {
+ "@": resolve(__dirname, "src"),
buffer: "buffer",
process: "process/browser",
util: "util",