diff --git a/compiler/forget/packages/playground/app/index.tsx b/compiler/forget/packages/playground/app/index.tsx index 9d5c57ee44..e8db4bce33 100644 --- a/compiler/forget/packages/playground/app/index.tsx +++ b/compiler/forget/packages/playground/app/index.tsx @@ -15,7 +15,11 @@ const Home: NextPage = () => { return (
- React Forget Playground + + {process.env.NODE_ENV === "development" + ? "[DEV] React Forget Playground" + : "React Forget Playground"} + - React Forget Playground + + {process.env.NODE_ENV === "development" + ? "[DEV] React Forget Playground" + : "React Forget Playground"} +
- +

React Forget Playground

- Private + {process.env.NODE_ENV === "development" ? "DEV" : "Private"}
diff --git a/compiler/forget/packages/playground/package.json b/compiler/forget/packages/playground/package.json index 53c6697dfe..5e5274083e 100644 --- a/compiler/forget/packages/playground/package.json +++ b/compiler/forget/packages/playground/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "preinstall": "./scripts/setup.sh", - "dev": "next dev", + "dev": "NODE_ENV=development && next dev", "build": "next build && node ./scripts/downloadFonts.js", "start": "next start", "lint": "next lint"