react-values icon indicating copy to clipboard operation
react-values copied to clipboard

Change main entry to dist

Open dy opened this issue 5 years ago • 1 comments

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.

dy avatar Jul 17 '18 07:07 dy

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?

ianstormtaylor avatar Aug 06 '18 23:08 ianstormtaylor