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: [
|
||||
typescript(),
|
||||
typescript({
|
||||
"declaration": true,
|
||||
"outDir": "./api/dist/",
|
||||
}),
|
||||
isProdBuild && terser(),
|
||||
].filter(p => p),
|
||||
watch: {
|
||||
|
|
Reference in New Issue