We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7834f7 commit 5b587f7Copy full SHA for 5b587f7
apps/react-starter/vite.config.ts
@@ -1,8 +1,7 @@
1
import { defineConfig } from "vitest/config";
2
import react from "@vitejs/plugin-react";
3
4
-const url = process.env.REACT_URL ?? "/";
5
-const base = process.env.NODE_ENV === "production" ? url : "/";
+const base = process.env.REACT_BASE || "/";
6
7
// https://vitejs.dev/config/
8
export default defineConfig({
turbo.json
@@ -1,6 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
- "globalEnv": ["CI", "REACT_URL"],
+ "globalEnv": ["CI", "REACT_BASE"],
"globalDependencies": ["**/.env.*local"],
"tasks": {
"build": {
0 commit comments