chore: add "main" entry point back to fix backwards compatibility?

This commit is contained in:
Ayo 2023-11-30 21:21:31 +01:00
parent 8e1179c7ed
commit e6cba2d13b
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
"version": "1.14.5",
"description": "A zero-dependency, ~600 Bytes (minified & gzipped), JS base class for creating reactive custom elements easily",
"type": "module",
"main": "WebComponent.js",
"exports": {
".": {
"types": "./index.d.ts",

View file

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