Skip to content

feat: Netlify deployment support#31

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/prepare-project-for-netlify
Draft

feat: Netlify deployment support#31
Copilot wants to merge 3 commits intomainfrom
copilot/prepare-project-for-netlify

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

Switches from adapter-auto to @sveltejs/adapter-netlify and adds the configuration Netlify needs to build and serve the app.

Changes

  • svelte.config.js — Replace @sveltejs/adapter-auto with @sveltejs/adapter-netlify
  • netlify.toml (new) — Defines build command, publish directory (build), Node 20, and documents all required/optional env vars
    • Build command is npm run compile:contracts && npm run build because the /deploy route statically imports Hardhat-compiled contract artifacts that are .gitignored and must be generated at build time
  • .gitignore — Add build/ and .netlify/ (adapter output dirs)
  • .prettierignore — Add .netlify/ to suppress linter noise on generated files
[build]
  command = "npm run compile:contracts && npm run build"
  publish = "build"

[build.environment]
  NODE_VERSION = "20"

Server-side routes (src/routes/api/) are automatically handled via Netlify Functions by the adapter — no manual [[redirects]] configuration needed.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@netlify
Copy link

netlify bot commented Feb 28, 2026

Deploy Preview for shadowgraph-airdrop ready!

Name Link
🔨 Latest commit 7438616
🔍 Latest deploy log https://app.netlify.com/projects/shadowgraph-airdrop/deploys/69a32c910364b900087530e9
😎 Deploy Preview https://deploy-preview-31--shadowgraph-airdrop.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI and others added 2 commits February 28, 2026 17:57
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
Copilot AI changed the title [WIP] Prepare project for use on Netlify feat: Netlify deployment support Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants