{"id":31544717,"url":"https://github.com/maxlath/vite-plugin-svelte-demo","last_synced_at":"2026-02-16T01:40:27.358Z","repository":{"id":303804252,"uuid":"1016734545","full_name":"maxlath/vite-plugin-svelte-demo","owner":"maxlath","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-09T13:26:38.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T13:53:06.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxlath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-09T12:53:04.000Z","updated_at":"2025-07-09T13:26:42.000Z","dependencies_parsed_at":"2025-07-09T14:42:31.504Z","dependency_job_id":null,"html_url":"https://github.com/maxlath/vite-plugin-svelte-demo","commit_stats":null,"previous_names":["maxlath/vite-plugin-svelte-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxlath/vite-plugin-svelte-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fvite-plugin-svelte-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fvite-plugin-svelte-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fvite-plugin-svelte-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fvite-plugin-svelte-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxlath","download_url":"https://codeload.github.com/maxlath/vite-plugin-svelte-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fvite-plugin-svelte-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29498170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T01:11:49.942Z","status":"ssl_error","status_checked_at":"2026-02-16T01:07:16.834Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-04T13:50:07.165Z","updated_at":"2026-02-16T01:40:27.341Z","avatar_url":"https://github.com/maxlath.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Demo for https://github.com/sveltejs/vite-plugin-svelte/pull/1166\n\n## Reproduce the issue\n```sh\ngit clone https://github.com/maxlath/vite-plugin-svelte-demo\ncd vite-plugin-svelte-demo\npnpm install\npnpm start\n```\nand in another terminal\n```sh\ncurl http://localhost:5173/\n```\nresults in the following error in the vite logs:\n```\n2:55:26 PM [vite] (client) Pre-transform error: :5:2 Expected a valid CSS identifier\nhttps://svelte.dev/e/css_expected_identifier\n\n- Did you forget to add a lang attribute to your style tag?\n- Did you forget to add a style preprocessor? See https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/preprocess.md for more information.\n- Did you forget to add a scss preprocessor? See https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/preprocess.md for more information.\n  Plugin: vite-plugin-svelte\n  File: /tmp/bla/vite-plugin-svelte-demo/src/App.svelte:5:2\n   3 |\n   4 |  \u003cstyle lang=\"scss\"\u003e\n   5 |    $some-color: red;\n          ^\n   6 |    .h1{\n   7 |      color: $some-color;\n```\n\nNote the **\"Did you forget to add a lang attribute to your style tag?\"** message, despite having `\u003cstyle lang=\"scss\"\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fvite-plugin-svelte-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxlath%2Fvite-plugin-svelte-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fvite-plugin-svelte-demo/lists"}