trivago/melody

Export only ES modules

Open

#89 opened on Jan 13, 2019

 (1 comment) (0 reactions) (0 assignees)JavaScript (37 forks)auto 404
good first issue

Repository metrics

Stars
 (216 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide