web: build .d.ts files for API client in rollup

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-17 22:55:26 +01:00
parent e6cb60b793
commit 9a27bc8627

View file

@ -40,7 +40,10 @@ export default [
}, },
], ],
plugins: [ plugins: [
typescript(), typescript({
"declaration": true,
"outDir": "./api/dist/",
}),
isProdBuild && terser(), isProdBuild && terser(),
].filter(p => p), ].filter(p => p),
watch: { watch: {