mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
improve types
This commit is contained in:
parent
cb5ca0c084
commit
5dbbfaf46a
@ -6,6 +6,7 @@
|
|||||||
"umd": "dist/tiptap-core.umd.js",
|
"umd": "dist/tiptap-core.umd.js",
|
||||||
"module": "dist/tiptap-core.esm.js",
|
"module": "dist/tiptap-core.esm.js",
|
||||||
"unpkg": "dist/tiptap-core.bundle.umd.min.js",
|
"unpkg": "dist/tiptap-core.bundle.umd.min.js",
|
||||||
|
"types": "dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist"
|
"dist"
|
||||||
|
@ -50,7 +50,11 @@ async function build(commandLineArgs) {
|
|||||||
tsconfigOverride: {
|
tsconfigOverride: {
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
declaration: true,
|
declaration: true,
|
||||||
|
paths: {
|
||||||
|
'@tiptap/*': ['*/src'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
include: null,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
vuePlugin(),
|
vuePlugin(),
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
"checkJs": false,
|
"checkJs": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@tiptap/*": ["*/src"]
|
"@tiptap/*": ["*/dist", "*/src"]
|
||||||
},
|
},
|
||||||
"lib": [
|
"lib": [
|
||||||
"esnext",
|
"esnext",
|
||||||
|
Loading…
Reference in New Issue
Block a user