sveltejs/vite-plugin-svelte
소개
Svelte용 https://vite.dev 플러그인
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +3
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original@sveltejs/vite-plugin-svelte
The official Svelte plugin for Vite.
Installation
npm install --save-dev @sveltejs/vite-plugin-svelte
Usage
// vite.config.js
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
export default defineConfig({
plugins: [
svelte({
// plugin options
})
]
});
Documentation
Packages
| Package | Changelog |
|---|---|
| @sveltejs/vite-plugin-svelte | Changelog |
Got a question? / Need help?
Join the Svelte Discord server!
Development
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 ito install dependenciespnpm playwright install chromiumto install required playwright browser binaries via local playwright-coreNOTE This repo uses
playwright-corewith a bin alias toplaywrightvia package.json script Callingpnpm dlx playwright install chromiumwill not work.pnpm checkandpnpm:testto validate changespnpm formatto format source codepnpm test:unit,pnpm test:serveorpnpm test:buildto run a subset of testspnpm test <e2e-directory-name>to focus a specific testsuitepnpm changesetto generate a changesetpnpm generate:typesto generate public types from jsdoc (this is required when changing types and validated in ci)
Credits
- Svelte and Vite creators, maintainers and contributors
- rixo - without svelte-hmr and your support this would not have been possible
- intrnl - initial inspiration from https://github.com/intrnl/vite-plugin-svelte
License
관련 프로젝트 살펴보기
불러오는 중…