improve types

This commit is contained in:
Philipp Kühn 2020-11-10 22:52:54 +01:00
parent cb5ca0c084
commit 5dbbfaf46a
3 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@
"umd": "dist/tiptap-core.umd.js",
"module": "dist/tiptap-core.esm.js",
"unpkg": "dist/tiptap-core.bundle.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"

View File

@ -50,7 +50,11 @@ async function build(commandLineArgs) {
tsconfigOverride: {
compilerOptions: {
declaration: true,
paths: {
'@tiptap/*': ['*/src'],
},
},
include: null,
},
}),
vuePlugin(),

View File

@ -14,7 +14,7 @@
"allowJs": false,
"checkJs": false,
"paths": {
"@tiptap/*": ["*/src"]
"@tiptap/*": ["*/dist", "*/src"]
},
"lib": [
"esnext",