developit / developit/microbundle

Support for multiple "entries"

Ouverte
#50 30 commentaires 15 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
8.1k
Forks
358
Métriques de merge des PR
Aucune PR mergée en 30 j

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~

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, rollup
Domaine
build-system, tooling
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.