Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Change main entry to dist #27

Open
dy opened this issue Jul 17, 2018 · 1 comment
Open

Change main entry to dist #27

dy opened this issue Jul 17, 2018 · 1 comment
Labels

Comments

@dy
Copy link

dy commented Jul 17, 2018

Hi @ianstormtaylor!
Right now it is not convenient to use this library with babelify/browserify, since that uses ES6 export and requires global browserify transform.
Changing main entry in package.json to dist fixes this problem, also that is well-established practice.

Appreciate your attention.

@ianstormtaylor
Copy link
Owner

Hey @dy, can you explain what the global transform is needed? I think the react-values.js file which package.main points to uses CommonJS requires?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants