Skip to content

redux on npm package.json doesn't have the browser field #2235

@monkindey

Description

@monkindey

Do you want to request a feature or report a bug ?

report a bug

What is the current behavior ?

  1. npm install redux or yarn add redux
  2. view the package.json which didn't have the browser field, but the github repo have.

Sorry for the big image, which is the part of package.json file on npm, didn't found the browser field

image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar.

as above

What is the expected behavior ?

package.json have the browser field and the unpkg can read the browser field to determine which file is used for browser. Now is the lib/index.js

Which versions of Redux, and which browser and OS are affected by this issue? Did this work in previous versions of Redux?

3.6.0

Thanks

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