SkillAgentSearch skills...

Snek

No description available

Install / Use

/learn @Rich-Harris/Snek
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

snek

This is a demo of the new bundleStrategy: 'inline' option in SvelteKit.

In vite.config.js, assetsInlineLimit: Infinity is set, causing all assets (fonts, images, audio) to be inlined into the JavaScript. In turn, bundleStrategy: 'inline' in svelte.config.js causes the JavaScript (and styles) to be inlined into the HTML. Finally, router.type === 'hash' in svelte.config.js makes it possible to navigate between pages.

The result is a fully self-contained .html file containing the entire app.

View on GitHub
GitHub Stars38
CategoryDevelopment
Updated3mo ago
Forks3

Languages

Svelte

Security Score

67/100

Audited on Dec 30, 2025

No findings