v0.1.4 is broken
Closed this issue · 1 comments
ooflorent commented
The release v0.1.4 does not work on node. The reason being the addition of type
inside package.json
.
"main": "./dist/index.min.js",
"type": "module",
When using type
, it indicates that main
is an ES module.
Here is a backward compatible definition:
"type": "module",
"main": "./dist/index.min.js",
"exports": {
"import": "./dist/index.es.js",
"require": "./dist/index.min.js"
}
NateTheGreatt commented
merged your PR for this