new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Svelte · SvelteKit · all subjects

integrations

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

HTML minifier integration

Sapper includes html-minifier by default. SvelteKit does not. You can add it as a prod dependency and use it through a handle hook with transformPageChunk option.

installPolyfills function from @sveltejs/kit/node/polyfills

The installPolyfills function is imported from @sveltejs/kit/node/polyfills. It makes various web APIs available as globals, specifically crypto and File. The function signature is: function installPolyfills(): void;

Web APIs provided by installPolyfills

The installPolyfills function from @sveltejs/kit/node/polyfills provides access to the following web APIs as globals: crypto and File.

SvelteKit supports integration with TypeScript, ESLint, Prettier, Playwright, and Vitest

When creating a SvelteKit project, you are offered the option to add TypeScript, ESLint, Prettier, Playwright (for end-to-end browser tests), and Vitest (for unit tests) during project setup.

SvelteKit provides zero-config support for popular tools

During project creation, SvelteKit offers setup wizards for popular tools like TypeScript, ESLint, Prettier, Playwright, and Vitest. Integration guides exist for many other popular projects such as Tailwind and Supabase. Community tools like svelte-add allow adding additional integrations with a single command.

Give your agent this brain