I use rollup to bundle typescript code, but it does not exit after the target file is generated.
I have the config like this
import rollupTypescript from '@rollup/plugin-typescript'
import css from 'rollup-plugin-css-only'
export default {
input: 'src/index.ts',
output: [
{
file: 'dist/index.iife.js',
format: 'iife',
name: 'plotter',
},
],
plugins: [
rollupTypescript(),
css({ ouput: 'dist/index/css' }),
],
}
And I can see the output as terminal

It tells that the file is created, but the rollup process does not exit.
Typescript: 4.4.2
Rollup: 2.26.4
@rollup/plugin-typescript: 8.2.5
Is there anything I did wrong? Thanks.