developit / developit/microbundle

Reevaluate exports: 'auto'

Ouverte
#48 2 commentaires 0 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

It's just a request to evaluate if exports: 'auto' is still today the best solution. I understand its nice to use `require('lib')` instead of `require('lib').default`, but imho the BIG problem with having this auto mode **by default** is that whenever a user adds a named export from his/her library it is automatically a **breaking change** and one that might easily slip released as patch/minor because its really simple to miss that.

I'll make piece with either decision, just wanted to raise a concern about this.

I've filled this issue at rollup - https://github.com/rollup/rollup/issues/1881 , but whatever they decide does not have to be the same for microbundle, hence "duplicated" issues.

Guide de contribution

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

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

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