From 5d510078117add89aadb7b9bb95f019bc64b7949 Mon Sep 17 00:00:00 2001 From: alecks <0xalecks@gmail.com> Date: Thu, 19 Oct 2023 11:43:27 -0400 Subject: [PATCH] ui: update netlify configs --- projects/ui/netlify.toml | 10 +++++++++- projects/ui/package.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/projects/ui/netlify.toml b/projects/ui/netlify.toml index 8da5b44133..43542d23f5 100644 --- a/projects/ui/netlify.toml +++ b/projects/ui/netlify.toml @@ -19,4 +19,12 @@ for = "/*" [headers.values] X-Frame-Options = "DENY" - X-Content-Type-Options = "nosniff" \ No newline at end of file + X-Content-Type-Options = "nosniff" + +[dev] + command = "yarn start" + framework = "#custom" + port = 8888 + targetPort = 4173 + functionsPort = 59199 + autoLaunch = true diff --git a/projects/ui/package.json b/projects/ui/package.json index 84a5ab99fd..251f7afec8 100644 --- a/projects/ui/package.json +++ b/projects/ui/package.json @@ -128,7 +128,7 @@ }, "scripts": { "start": "vite --port 4173", - "dev": "netlify dev --command \"yarn start\" --targetPort 4173 --framework vite", + "dev": "netlify dev", "serve": "vite preview", "build": "yarn generate && tsc && vite build", "build:dev": "tsc --noEmit --watch",