gajus / gajus/redux-immutable

Add build option for es modules

Open
#63 11 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
TypeScript
Stars
1.9k
Forks
84
PR merge metrics
No merged PRs in 30d

Description

Redux (and a lot of other React libs) have a ES2015 modules version of the build: https://github.com/reactjs/redux/blob/master/package.json#L24

This is really handy for tools like Rollup, since the `"module"` key in package.json can be pointed at `./es/index.js`. I'm using a fork of redux-immutable with these builds and it works well.

Would you consider a PR that adds multiple build outputs to match how Redux is built?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the package.json build configuration and compare the requested outputs with the Redux package.json example linked in the issue. Check how the existing build is produced and how Rollup consumes the package's module entry; done means the package exposes the requested ES2015 module build and matching output entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rollup, typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.