Rollup plugin

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rollup, typescript
Domain
build-system

Research direction

The issue names no repository files or tests; start by reviewing Vite's Rollup implementation and the Lume site.hooks API. Done means addressing the listed default configuration, plugin wrapping, and addRollupPlugin hook requirements, while accounting for the proposed Rolldown or Farm replacement.

Written by the indexing model from the issue text.

Description

Worth to implement since rollup has better code splitting analysis than esbuild. Hopefully it's not going to be rewrite of vite 😅

  • sane default config and rollup plugins (see how vite implement it)
  • wrap esbuild or terser lume plugin as rollup plugin when one of them is used in the pipeline (tips: check if the entry points of both plugins being overlap)
  • register site.hooks .addRollupPlugin(function)
  • replace with rolldown or farm when it's ready
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DrSensor/lume-plugins

All issues in DrSensor/lume-plugins

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.