Skip to content

fix: scaffold Tailwind-enabled playground downloads - #2246

Merged
Rich-Harris merged 3 commits into
sveltejs:mainfrom
GtechGovind:fix/playground-tailwind-download
Sep 26, 2026
Merged

Rich-Harris merged 3 commits into
sveltejs:mainfrom
GtechGovind:fix/playground-tailwind-download

Conversation

@GtechGovind

Copy link
Copy Markdown
Contributor

Fixes #1227

I updated playground downloads to select a plain or Tailwind-enabled SvelteKit scaffold based on the playground setting. The Tailwind variant is generated with sv's Tailwind add-on, so its Vite plugin, dependencies, and stylesheet wiring stay aligned with the CLI. User files and imported dependencies remain in the ZIP. I also use the REPL's actual base stylesheet for both variants and include custom Tailwind CSS directives in the scaffold's Tailwind entrypoint.

Validation:

  • pnpm -r package, pnpm check, pnpm lint, and pnpm test (35 tests) passed.
  • Both generated variants installed, type-checked, and built as standalone projects.
  • I created and extracted ZIPs for both variants and verified the playground component was present.
  • The full site compiled on Node 24, but local Vercel adapter packaging stalled after function generation; I stopped that run.

@vercel

vercel Bot commented Sep 25, 2026

Copy link
Copy Markdown

@GtechGovind is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
next-svelte-dev Ready Ready Preview Sep 26, 2026 3:02pm UTC
svelte-dev Ready Ready Preview Sep 26, 2026 3:02pm UTC

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@Rich-Harris
Rich-Harris marked this pull request as ready for review September 26, 2026 15:38
@Rich-Harris
Rich-Harris merged commit 5a11ae2 into sveltejs:main Sep 26, 2026
0 of 2 checks passed
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.

Set up Tailwind when downloading a Tailwind-enabled playground

2 participants