From 88502707797e3214653c473303cca21338d9af78 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 272915c..0384f0b 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 0879ef0..a9d815e 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 b4671b9..f486087 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 (