lit / lit/lit.dev

Add bundling section to publishing guide

Open
#1,431 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
142
Forks
230
PR merge metrics
No merged PRs in 30d

Description

Summary

Add a Bundling with Rollup section to the publishing guide.

Details

The publishing guide currently explains how to publish packages but does not cover bundling. Adding a section on bundling (e.g., using Rollup) would help devs understand how to:

  • Combine compiled files into distributable formats (e.g., ES modules)
  • Ensure Lit components are optimized for browser consumption
  • Prepare packages for publishing in a consistent way
Proposed Changes
  • Add Bundling with Rollup section in the publishing guide
    • Include examples of configuration and minimal setup
PR

#1430

Contributor guide

Open the contributing guide

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.

Research direction

Locate the publishing guide and review the proposed PR #1430 before starting. Add a Bundling with Rollup section covering minimal configuration, combining compiled files into distributable formats, and browser-oriented Lit packages; the guide should include the requested examples and setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
rollup
Domain
build-system, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.