web: build .d.ts files for API client in rollup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
e6cb60b793
commit
9a27bc8627
|
@ -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: {
|
||||||
|
|
Reference in New Issue