developit / developit/microbundle

Support for multiple "entries"

Open
#50 30 comments 15 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8.1k
Forks
358
PR merge metrics
No merged PRs in 30d

Description

Having this implemented would resolve [this issue](https://github.com/developit/unistore/issues/62).

The idea is that we need to output private `package.json` files to support appropriate es/cjs resolving, I believe that @kentcdodds got it "right" [here](https://github.com/kentcdodds/kcd-scripts/blob/d30389cf1c9805556fda59cc4d413763db92808e/src/scripts/build/rollup.js#L68-L85). Although you might prefer having some convention for creating additional "entries" over additional config flag.

I will work on implementing this, hopefully some time soon~

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked unistore issue and the referenced kcd-scripts Rollup configuration at the cited path. Clarify whether additional entries should use a convention or a configuration flag, then define done as emitting private package.json files that support appropriate ES and CommonJS resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rollup
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.