- Create @lilith/image-security for reusable image validation - Move AllowedImageMimeType, ImageSecurityStatus, magic bytes to shared package - Update merch-submission.types.ts to import from new package - Add MerchPhrase model to ecommerce types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
311 B
TypeScript
17 lines
311 B
TypeScript
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',
|
|
],
|
|
})
|