HuaweiDemo/goberts/rollup.config.js
2023-11-07 09:17:57 +08:00

16 lines
263 B
JavaScript

import typescript from '@rollup/plugin-typescript';
export default {
input: 'index.ts',
output: [
{
name: 'index',
file: 'index.js',
format: 'cjs',
},
],
plugins: [
typescript({ tsconfig: './tsconfig.build.json' }),
],
};