Open MTRNord opened 1 month ago
It seems like this export declaration makes tsc happy:
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/matrix-wysiwyg.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/matrix-wysiwyg.umd.cjs"
}
}
},
Problem
TSC spits out this error for any import:
Steps to reproduce
Import the package in an esm module project with these compilerOptions (these are somewhat vitejs as an origin):