WIP: Getting r3f to work with create-react-app

* Temporarily disabled ESM bundles because the current setup confuses webpack4 (but not parceljs). Since create-react-app uses webpack4, not doing this would make theatre incompatible with CRA.
This commit is contained in:
Aria Minaei 2021-08-07 21:41:07 +02:00
parent 7c759f2f6d
commit 1497eaf610
34 changed files with 731 additions and 91 deletions

View file

@ -14,15 +14,6 @@
},
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"default": "./dist/index.cjs",
"node": "./dist/index.cjs"
}
},
"files": [
"dist/**/*"
],