2023-07-28 07:48:01 -04:00
|
|
|
import typescript from '@rollup/plugin-typescript';
|
|
|
|
import {defineConfig} from 'rollup';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
input: 'index.ts',
|
|
|
|
output: {
|
|
|
|
format: 'es',
|
|
|
|
dir: 'build',
|
|
|
|
},
|
|
|
|
external: [
|
2023-08-14 14:37:55 -04:00
|
|
|
'node:fs/promises',
|
2023-07-28 07:48:01 -04:00
|
|
|
'node:path',
|
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
typescript(),
|
|
|
|
],
|
|
|
|
});
|