Optional require of Immutable is broken #93

Closed
opened 2016-02-12 12:59:37 +00:00 by mathieudutour · 0 comments
mathieudutour commented 2016-02-12 12:59:37 +00:00 (Migrated from github.com)

It's impossible to build without immutable, browserify is throwing a compile time error. Maybe using https://github.com/devongovett/browserify-optional would work but it still need

"browserify": {
  "transform": ["browserify-optional"]
}

in the package.json.

Another solution would be to pass fromJS as an optional argument of the reducer enhancer.

It's impossible to build without `immutable`, browserify is throwing a compile time error. Maybe using https://github.com/devongovett/browserify-optional would work but it still need ``` "browserify": { "transform": ["browserify-optional"] } ``` in the package.json. Another solution would be to pass `fromJS` as an optional argument of the reducer enhancer.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MichaelContento/redux-storage#93
No description provided.