retag-nix-docker-image/rollup.config.ts

19 lines
426 B
TypeScript
Raw Normal View History

2025-01-11 21:39:23 +00:00
// See: https://rollupjs.org/introduction/
import commonjs from '@rollup/plugin-commonjs';
import nodeResolve from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
const config = {
input: 'src/index.ts',
output: {
esModule: true,
file: 'dist/index.js',
format: 'es',
sourcemap: true,
},
plugins: [typescript(), nodeResolve(), commonjs()],
};
export default config;