React-modal: package.json "module" field is pointing to a non existent file

Created on 24 Apr 2018  路  2Comments  路  Source: reactjs/react-modal

Build tools will likely prefer "module" if it exists, fallback to "main" if it doesn't. See here

Current "module" field in package.json is pointing to "./src/index.js", which doesn't get published. Causing confusions for build tools, in my case, parcel-bundler.

bug

All 2 comments

@rocketspacer Released 3.4.4. Can you validate the fix?

Wow, that was fast. Yes, it is fixed at 3.4.4.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yaoyao1024 picture yaoyao1024  路  3Comments

leoasis picture leoasis  路  4Comments

gavmck picture gavmck  路  3Comments

petertdinh picture petertdinh  路  4Comments

fabien-somnier picture fabien-somnier  路  3Comments