From 9a27bc8627dcbed11babe6fd8835d4f8f9801734 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 17 Mar 2021 22:55:26 +0100 Subject: [PATCH] web: build .d.ts files for API client in rollup Signed-off-by: Jens Langhammer --- web/rollup.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/rollup.config.js b/web/rollup.config.js index 4a11dcd88..7b7ef95ac 100644 --- a/web/rollup.config.js +++ b/web/rollup.config.js @@ -40,7 +40,10 @@ export default [ }, ], plugins: [ - typescript(), + typescript({ + "declaration": true, + "outDir": "./api/dist/", + }), isProdBuild && terser(), ].filter(p => p), watch: {