Add support for typescript's bundle mode to @theatre/r3f
This commit is contained in:
parent
e7f23cfa4e
commit
4d7373e1a9
1 changed files with 4 additions and 2 deletions
|
@ -28,11 +28,13 @@
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"import": "./dist/index.esm.js",
|
"import": "./dist/index.esm.js",
|
||||||
"require": "./dist/index.js"
|
"require": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
},
|
},
|
||||||
"./dist/extension": {
|
"./dist/extension": {
|
||||||
"import": "./dist/extension/index.esm.js",
|
"import": "./dist/extension/index.esm.js",
|
||||||
"require": "./dist/extension/index.js"
|
"require": "./dist/extension/index.js",
|
||||||
|
"types": "./dist/extension/index.d.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue