From 46a7921bf0d8bbcae71cf5f1f8dec47f8ff1302a Mon Sep 17 00:00:00 2001 From: Raditya_Indra_Putranto Date: Thu, 4 Jun 2026 17:35:25 +0700 Subject: [PATCH] chore: configure Netlify deployment --- README.md | 10 ++++++++++ netlify.toml | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 netlify.toml diff --git a/README.md b/README.md index 50cdb3e..c8edaee 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,16 @@ Buka URL dari Vite (default: `http://localhost:5173`) lalu akses launcher di `/` | `npm run build` | Build static output ke folder `dist` | | `npm run preview` | Preview hasil build | +## Deploy Netlify + +Project ini sudah punya konfigurasi Netlify di `netlify.toml`. + +Saat membuat site di Netlify: +- Repository: `GuavaPopper/PPL_Staging` +- Branch deploy: `Staging` +- Build command: `npm run build` +- Publish directory: `dist` + ## Struktur Folder ``` diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..0cab1ff --- /dev/null +++ b/netlify.toml @@ -0,0 +1,6 @@ +[build] + command = "npm run build" + publish = "dist" + +[build.environment] + NODE_VERSION = "22"