chore: add "main" entry point back to fix backwards compatibility?
This commit is contained in:
parent
8e1179c7ed
commit
e6cba2d13b
2 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
export {attachEffect} from './attach-effect.js';
|
||||
export {default, WebComponent} from './WebComponent.js';
|
||||
export {default as WebComponent} from './WebComponent.js';
|
Loading…
Reference in a new issue