{"library":"svelte-loader","type":"library","category":null,"description":"A webpack loader for Svelte components, allowing you to use Svelte with webpack. This version (3.2.4) supports Svelte 3, 4, and 5 (including runes mode). It handles Svelte files (.svelte) and with extra config supports TypeScript in Svelte files. Key differentiator: it's the official webpack integration from the Svelte team, maintained alongside SvelteKit and Vite plugin. Requires manual webpack configuration for CSS extraction, aliasing, and resolving conditions. Alternatives include vite-plugin-svelte for Vite users.","language":"javascript","status":"active","version":"3.2.4","tags":["javascript","svelte","sveltejs","webpack-loader"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install svelte-loader","imports":["use: 'svelte-loader'","const svelteLoader = require('svelte-loader'); or use as string 'svelte-loader'","use: { loader: 'svelte-loader', options: { emitCss: true } }"]},{"cmd":"yarn add svelte-loader","imports":[]},{"cmd":"pnpm add svelte-loader","imports":[]}],"homepage":"https://svelte.dev","github":"https://github.com/sveltejs/svelte-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/svelte-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}