mirror of
https://github.com/diced/zipline.git
synced 2025-12-12 07:40:45 -08:00
27 lines
478 B
TypeScript
27 lines
478 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig([
|
|
{
|
|
platform: 'node',
|
|
format: 'cjs',
|
|
treeshake: true,
|
|
clean: false,
|
|
sourcemap: true,
|
|
entryPoints: {
|
|
server: 'src/server/index.ts',
|
|
},
|
|
outDir: 'build',
|
|
},
|
|
{
|
|
platform: 'node',
|
|
format: 'cjs',
|
|
treeshake: true,
|
|
clean: false,
|
|
sourcemap: true,
|
|
entryPoints: {
|
|
thumbnails: 'src/offload/thumbnails.ts',
|
|
},
|
|
outDir: 'build/offload',
|
|
},
|
|
]);
|