mirror of
https://github.com/diced/zipline.git
synced 2025-12-12 07:40:45 -08:00
20 lines
434 B
TypeScript
20 lines
434 B
TypeScript
import glob from 'fast-glob';
|
|
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig(async (_) => {
|
|
return [
|
|
{
|
|
platform: 'node',
|
|
format: 'cjs',
|
|
treeshake: true,
|
|
clean: false,
|
|
sourcemap: true,
|
|
entryPoints: await glob('./src/**/*.ts', {
|
|
ignore: ['./src/components/**/*.ts', './src/pages/**/*.ts'],
|
|
}),
|
|
outDir: 'build',
|
|
external: ['argon2'],
|
|
},
|
|
];
|
|
});
|