Skip to content

Getting Started

Installation

package.json
json
{
  "name": "project",
  "type": "module",
  "scripts": {
    "build": "rolldown -c"
  },
  "devDependencies": {
    "rolldown": "nightly"
  }
}
rolldown.config.js
js
import { defineConfig } from 'rolldown'

export default defineConfig({
  input: 'src/main.mjs',
})

Versions

  • latest
  • nightly - published nightly
  • https://pkg.pr.new/rolldown@45f463a - each commit on main branch published to pkg.pr.new

Released under the MIT License.