diff --git a/docs/src/.vuepress/copy-plugin.ts b/docs/src/.vuepress/copy-plugin.ts index bcc18033..deab81d5 100644 --- a/docs/src/.vuepress/copy-plugin.ts +++ b/docs/src/.vuepress/copy-plugin.ts @@ -16,6 +16,7 @@ export function copyVueFlowPlugin(): Plugin { `Run "pnpm -w build" first.` ) } + this.emitFile({ type: 'asset', fileName: 'vue-flow.es.js', diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 4603ac5f..c45c00a2 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -17,7 +17,7 @@ "forceConsistentCasingInFileNames": true, "types": ["vite/client", "@types/node", "unplugin-icons/types/vue"] }, - "include": ["components", "src", "src/.vuepress/auto-imports.d.ts"], + "include": ["components", "src", "src/.vuepress/*"], "exclude": ["node_modules", "dist"], "references": [{ "path": "./tsconfig.node.json" }] } diff --git a/docs/typedoc.json b/docs/typedoc.json index 61f5a2b9..c68f4f70 100644 --- a/docs/typedoc.json +++ b/docs/typedoc.json @@ -7,6 +7,7 @@ "categorizeByGroup": true, "darkHighlightTheme": "vitesse-dark", "lightHighlightTheme": "vitesse-light", + "disableSources": true, "out": "src/typedocs", "tsconfig": "../packages/vue-flow/tsconfig.docs.json" }