xjpro / react-in-angularjs

A super simple way to render React components in AngularJS
The Unlicense
23 stars 13 forks source link

Convert to ES Module with CJS support + small bug fix #26

Open maxbilbow opened 1 year ago

maxbilbow commented 1 year ago

More comprehensive alternative to https://github.com/xjpro/react-in-angularjs/pull/25

Lists both cjs and mjs exports. For consumers using NPM 6/Node 14 or or earlier, the default should be cjs, as specified in the main property of package.json