sveltejs / sveltejs/cli

Consider removing inlined styles from `app.html`

Open
#897 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

pkg:create
Dominant language
TypeScript
Stars
506
Forks
107
Avg merge
5d 15h
Merged PRs (30d)
28

Description

Based on https://github.com/sveltejs/kit/issues/11747 , it might be preferable to avoid inlined styles in the default app.html template https://github.com/sveltejs/cli/blob/1f8738aa194678d7a947fe055ea50055d5fe4288/packages/sv/lib/create/templates/minimal/src/app.html#L9
I'm not sure what kind of impact this would have and I'm not sure if it's something we even need to do since it's relatively simple for the user to do it themselves.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the minimal template at packages/sv/lib/create/templates/minimal/src/app.html#L9 and read the referenced SvelteKit issue about inlined styles. Assess the impact of changing the generated template and discuss the uncertainty in the issue thread. Done means there is a maintainer-approved decision and any agreed template change passes the relevant project checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
cli, frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.