Skip to content

[Feature] Include non-minified (development) version in /dist #64

@virgofx

Description

@virgofx

Currently, releases in the /dist folder contain only the production/minified version.

It would be very useful for those who organize peer dependencies and include them externally (instead of bundling everything together) to have pathways for local development and production. Specifically, being able to use project build tools to include the distribution of React-transition-group in dev mode alongside the current dev React setup.

When using the minified /dist version in combination with the development React suite, errors result:

react.js:3287 Warning: Failed prop type: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
    in CSSTransitionGroup (created by AppComponent)

Using production react-transition-group with production react suite results in no errors.

So again, when building /dist it would be nice to include 2 files:

  • react-transition-group.js - Development/un-minified
  • react-transition-group.min.js - Production/minified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions