From c0c3bc6408df57cc4a947c78a4eaf0ea887f7e87 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Mon, 20 Nov 2023 04:06:26 +0000 Subject: [PATCH] build: fix docs build, use --base for ladle --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b353b75..2675e9f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build": "tsup src/index.ts", "build:docstrings": "react-docgen --out docs/components.json src/**/*.ts --ignore src/utils/**", "build:markdown": "node docs/json2md.mjs", - "build:stories": "ladle build --outDir=docs/stories", + "build:stories": "ladle build --outDir=docs/stories --base /stories", "build:docs": "npm run build:docstrings && npm run build:markdown && npm run build:stories" }, "keywords": [],