Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/rolldown-config. My Rolldown config.
Something went wrong. Try again.
Files
readme.md
This repository has moved to Codeberg.
Samual's Rolldown Config #
An opinionated Rolldown config.
Install #
npm install @samual/rolldown-config
Usage #
Put this in your rolldown.config.js:
import { rolldownConfig } from "@samual/rolldown-config"
export default rolldownConfig()
By default, this config finds source files in src and emits them to dist.
You can override the source path with rolldownConfig({ sourcePath: "source" }) and you can override the out path with
rolldownConfig({ rolldownOptions: { output: { dir: "build" } } }).