
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
bun-plugin-svelte
Advanced tools
bun-plugin-svelte
The official Svelte plugin for Bun.
$ bun add -D bun-plugin-svelte
bun-plugin-svelte
integrates with Bun's Fullstack Dev Server, giving you
HMR when developing your Svelte app.
Start by registering it in your bunfig.toml:
[serve.static]
plugins = ["bun-plugin-svelte"]
Then start your dev server:
$ bun index.html
See the example for a complete example.
bun-plugin-svelte
lets you bundle Svelte components with Bun.build
.
// build.ts
// to use: bun run build.ts
import { SveltePlugin } from "bun-plugin-svelte"; // NOTE: not published to npm yet
Bun.build({
entrypoints: ["src/index.ts"],
outdir: "dist",
target: "browser",
sourcemap: true, // sourcemaps not yet supported
plugins: [
SveltePlugin({
development: true, // turn off for prod builds. Defaults to false
}),
],
});
bun-plugin-svelte
does not yet support server-side imports (e.g. for SSR).
This will be added in the near future.
Support for these features will be added in the near future
<style>
blocks--erasableSyntaxOnly
FAQs
Official Svelte plugin for Bun
The npm package bun-plugin-svelte receives a total of 66 weekly downloads. As such, bun-plugin-svelte popularity was classified as not popular.
We found that bun-plugin-svelte demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.