File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 38
38
},
39
39
"exports" : {
40
40
"." : {
41
- "require" : " ./dist/cjs/core/index.js" ,
42
- "import" : " ./dist/esm/core/index.js"
41
+ "require" : " ./dist/core/index.js" ,
42
+ "import" : " ./dist/core/index.js" ,
43
+ "types" : " ./dist/core/index.d.ts"
43
44
},
44
45
"./react" : {
45
- "require" : " ./dist/cjs/react/index.js" ,
46
- "import" : " ./dist/esm/react/index.js"
46
+ "require" : " ./dist/react/index.js" ,
47
+ "import" : " ./dist/react/index.js" ,
48
+ "types" : " ./dist/react/index.d.ts"
47
49
}
48
50
},
49
51
"scripts" : {
52
54
"build" : " bun build:library && bun build:types && cp -R ./src/types ./dist/types"
53
55
},
54
56
"type" : " module" ,
55
- "types" : " dist/core /index.d.ts"
57
+ "types" : " dist/types /index.d.ts"
56
58
}
Original file line number Diff line number Diff line change 1
1
import { Shader } from './shader'
2
2
import { MethodName } from './domHandler'
3
+ import ShaderTypes from '../types'
3
4
4
5
5
- export { Shader , MethodName }
6
+ export { Shader , MethodName , ShaderTypes }
You can’t perform that action at this time.
0 commit comments