mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
9dc8c84d2c
dacbe6a667671b6c476b8fb1ba972c26cd9061cb
19 lines
372 B
TypeScript
19 lines
372 B
TypeScript
import type { RollupOptions } from 'rollup';
|
|
import dts from 'rollup-plugin-dts';
|
|
|
|
export default (): RollupOptions | RollupOptions[] => {
|
|
const typings: RollupOptions = {
|
|
input: 'src/lib.ts',
|
|
output: {
|
|
file: 'dist/divkit-editor.d.ts'
|
|
},
|
|
plugins: [
|
|
dts()
|
|
]
|
|
};
|
|
|
|
return [
|
|
typings
|
|
];
|
|
};
|