From 055ac8cb633d7843aa854e40df5b41d1e1b60d91 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 18 Oct 2023 15:35:55 -0700 Subject: [PATCH] Better env --- .gitignore | 6 ++---- packages/playground-website/.env | 2 ++ packages/playground-website/index.html | 4 ++-- packages/playground-website/vite.config.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 packages/playground-website/.env diff --git a/.gitignore b/.gitignore index bc1b2fe275..f7f72fbf41 100644 --- a/.gitignore +++ b/.gitignore @@ -83,7 +83,8 @@ celerybeat-schedule *.sage.py # Environments -.env +/.env +.env.local .venv env/ venv/ @@ -159,9 +160,6 @@ jspm_packages/ # Yarn Integrity file .yarn-integrity -# dotenv environment variables file -.env - # next.js build output .next diff --git a/packages/playground-website/.env b/packages/playground-website/.env new file mode 100644 index 0000000000..150450da60 --- /dev/null +++ b/packages/playground-website/.env @@ -0,0 +1,2 @@ +# Bundle and use local version of typespec libraries +VITE_USE_LOCAL_LIBRARIES=true diff --git a/packages/playground-website/index.html b/packages/playground-website/index.html index a25d6a1f18..b37aea3620 100644 --- a/packages/playground-website/index.html +++ b/packages/playground-website/index.html @@ -6,8 +6,8 @@ TypeSpec Playground