The official Svelte plugin for Vite.
npm install --save-dev @sveltejs/vite-plugin-svelte
// vite.config.js import { defineConfig } from 'vite'; import { svelte } from '@sveltejs/vite-plugin-svelte'; export default defineConfig({ plugins: [ svelte({ /* plugin options */ }) ] });Got a question? / Need help?
Join the Svelte Discord server!
All scripts work from monorepo-root. The plugins are unbundled esm, a build step is not required while developing locally, but restarting local dev-servers can be needed to apply changes.
pnpm i
to install dependencies
pnpm playwright install chromium
to install required playwright browser binaries via local playwright-core
NOTE This repo uses
playwright-core
with a bin alias toplaywright
via package.json script Callingpnpm dlx playwright install chromium
will not work.
pnpm check
and pnpm:test
to validate changes
pnpm format
to format source code
pnpm test:unit
, pnpm test:serve
or pnpm test:build
to run a subset of tests
pnpm test <e2e-directory-name>
to focus a specific testsuite
pnpm changeset
to generate a changeset
pnpm generate:types
to generate public types from jsdoc (this is required when changing types and validated in ci)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4