message2call
Version:
Convert Send Message and on Message to asynchronous get and call style
23 lines (20 loc) • 434 B
JavaScript
import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import typescript from '@rollup/plugin-typescript'
/** @type {import('rollup').RollupOptions} */
export default {
input: 'src/index.ts',
output: [
{
file: 'dist/message2call.js',
format: 'esm',
},
],
plugins: [
typescript({
tsconfig: 'tsconfig.json',
}),
resolve(),
commonjs(),
],
}