theatre/examples/r3f-cra
Andrew Prifer 39da042edc
Fix various issues with the build system (#129)
* Fix react-icons breaking in CRA 5 for some reason

* Replace fuzzysort with fuzzy so we don't break Webpack

Webpack messes up esbuild’s internal modules if the inlined module is an AMD module. Check any new dep you add if it is an AMD module.

* Inline dataverse deps.

Mainly because the CJS build consuming the ESM lodash-es broke some bundlers.

* react-icons fix nr 2

* Stop eslint breaking in CRA 5

* Update r3f-cra example to CRA 5 and fix double-bundling react & co

* Fix r3f tree-shaking and switch to ESM only output

* Make r3f example shake studio and its extension in prod

* Examples have separate and wildly differing build setups so remove them from the pre-commit hook linting

* Update out-of-date yarn.lock
2022-04-21 22:03:51 +02:00
..
public WIP: Getting r3f to work with create-react-app 2021-08-07 21:41:07 +02:00
src Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00
.env WIP: Getting r3f to work with create-react-app 2021-08-07 21:41:07 +02:00
.eslintrc.json Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00
.gitignore WIP: Getting r3f to work with create-react-app 2021-08-07 21:41:07 +02:00
package.json Fix various issues with the build system (#129) 2022-04-21 22:03:51 +02:00
README.md Upgrade typescript 2021-08-08 10:12:23 +02:00
tsconfig.json Progress with cra 2021-08-07 22:30:29 +02:00

R3F CRA Example

Example of using theatre and @react-three/fiber with Create React App.