firtoz / react-three-renderer

Render into a three.js canvas using React.
https://toxicfork.github.com/react-three-renderer-example/
MIT License
1.49k stars 155 forks source link

fixing the package.json - right now the component is broken for fresh install. #201

Open iliran11 opened 6 years ago

iliran11 commented 6 years ago

Package json is not pointing correctly on react3.jsx.

johnrees commented 6 years ago

It's pointing to the file in the release directory i.e. https://unpkg.com/react-three-renderer@3.2.1/lib/React3.js

You probably want to run npm run compile if you're working with the source

iliran11 commented 6 years ago

the package is broken. when installing from npm, it's not working. the main property at package.json is pointing at nothing.

toxicFork commented 6 years ago

@iliran11 can you please show your package.json for the package that depends on it? I'll try to add some test case for it :)

toxicFork commented 6 years ago

Currently this PR cannot be merged until we have a fail/pass test case

For example, a project that would not work with current version