From fa1c6d9c80c87ae35f7f085e7812c16f2943f345 Mon Sep 17 00:00:00 2001 From: wrnrlr Date: Tue, 29 Oct 2024 21:42:07 +0100 Subject: [PATCH] fix typedoc production build --- www/vite.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/vite.config.js b/www/vite.config.js index 9ccd820..c783e35 100644 --- a/www/vite.config.js +++ b/www/vite.config.js @@ -14,7 +14,7 @@ function typedocPlugin() { const config = JSON.parse(await Deno.readTextFile(name)) config.hostedBaseUrl = 'https://wrnrlr.github.io/prelude' config.useHostedBaseUrlForAbsoluteLinks = true - config.out = './www/docs' + config.out = './www/dist/docs' config.entryPoints = ['./src/mod.ts'] const app = await Application.bootstrap(config) const project = await app.convert() @@ -58,7 +58,7 @@ export default defineConfig(({ command, mode }) => { assetsInclude, base: 'prelude', plugins: [ - // typedocPlugin() + typedocPlugin() ] } })