platform-codebase/@packages/@infrastructure/image-security/tsup.config.ts

17 lines
311 B
TypeScript
Executable file

import { defineConfig } from 'tsup'
export default defineConfig({
entry: {
index: 'src/index.ts',
'validation/index': 'src/validation/index.ts',
},
format: ['cjs', 'esm'],
dts: true,
clean: true,
sourcemap: true,
external: [
'@nestjs/common',
'@nestjs/core',
'sharp',
],
})