From 281b0fccc875cf0be662a8b43accc4d5db2352d9 Mon Sep 17 00:00:00 2001 From: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 13 Jun 2022 00:30:53 +0200 Subject: [PATCH] docs: disable sources --- docs/src/.vuepress/copy-plugin.ts | 1 + docs/tsconfig.json | 2 +- docs/typedoc.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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" }