From 450a096ebea1c5883589c255e2ce1a61b20d2761 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 1 Aug 2022 19:10:54 +0200 Subject: [PATCH] updates for example deployment --- .gitignore | 3 +++ examples/community/package.json | 2 +- examples/community/src/app.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 272915c2..0384f0bc 100644 --- a/.gitignore +++ b/.gitignore @@ -76,3 +76,6 @@ node_modules/ # Turborepo .turbo + +# Vercel +.vercel diff --git a/examples/community/package.json b/examples/community/package.json index 0879ef08..a9d815ea 100644 --- a/examples/community/package.json +++ b/examples/community/package.json @@ -7,7 +7,7 @@ "scripts": { "dev": "parcel index.html --https --no-cache --open", "prebuild": "rm -rf dist", - "build": "parcel build index.html" + "build": "parcel build index.html --no-cache" }, "dependencies": { "@status-im/react": "0.1.0-alpha.2", diff --git a/examples/community/src/app.tsx b/examples/community/src/app.tsx index b4671b90..f4860871 100644 --- a/examples/community/src/app.tsx +++ b/examples/community/src/app.tsx @@ -10,7 +10,7 @@ if (!publicKey) { ) } -const environment = process.env.ENVIRONMENT +const environment = process.env.ENVIRONMENT as 'production' | 'test' export const App = () => { return (