https://github.com/luludotdev/deno-rolldown-plugin
https://github.com/luludotdev/deno-rolldown-plugin
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/luludotdev/deno-rolldown-plugin
- Owner: luludotdev
- License: mit
- Created: 2025-05-02T15:55:59.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-21T21:09:31.000Z (12 months ago)
- Last Synced: 2025-10-14T22:53:46.402Z (8 months ago)
- Language: TypeScript
- Homepage: https://jsr.io/@lulu/deno-rolldown-plugin
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deno Rolldown Plugin
> This is mostly a port of the amazing
> [Deno esbuild Plugin](https://github.com/denoland/deno-esbuild-plugin).
> Rolldown is currently pre-1.0 and this plugin has no production-ready
> guarantees.
---
Plugin to enable Deno resolution inside [rolldown](https://rolldown.rs/). It
supports:
- Alias mappings in `deno.json`
- `npm:` specifier
- `jsr:` specifier
- `http:` and `https:` specifiers
## Usage
1. Install this package
2. Import it and add to the `rolldown` config
```ts
import * as rolldown from "rolldown";
import { denoPlugin } from "@lulu/deno-rolldown-plugin";
await rolldown.build({
input: ["./main.ts"],
output: { file: "./main.bundle.js" },
plugins: [denoPlugin()],
});
```