trivago/melody

Export only ES modules

Aperta

#89 aperta il 13 gen 2019

 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (37 fork)auto 404
good first issue

Metriche repository

Star
 (216 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

By now ES modules are a well supported standard and can be used by the browser as well as Webpack, Rollup and other bundlers. Melody itself doesn't benefit from being exported as CJS.

We can simplify our tooling and avoid mistakes for our users by switching to ES modules and ignoring the CJS use case.

This is a breaking change.

Guida contributor