chore: add index.js

This commit is contained in:
Ayo 2023-11-30 20:31:07 +01:00
parent 813c277445
commit 00cc98dc8c
2 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,10 @@
"type": "module", "type": "module",
"exports": { "exports": {
".": { ".": {
"types": "./index.d.ts",
"import": "./index.js"
},
"./WebComponent": {
"types": "./WebComponent.d.ts", "types": "./WebComponent.d.ts",
"import": "./WebComponent.js" "import": "./WebComponent.js"
}, },

2
src/index.js Normal file
View file

@ -0,0 +1,2 @@
export {attachEffect} from './attach-effect.js';
export {WebComponent} from './WebComponent.js';