From 845a75f9de4b56fb38780211eaee7cd664d0b895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Je=C5=BEek?= Date: Thu, 17 Oct 2024 20:22:18 +0200 Subject: [PATCH] infra: add seeder scripts to dist --- vite.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index af9ba50..034e745 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -23,7 +23,10 @@ export default { target: 'node22.2.0', outDir: './dist', lib: { - entry: glob.sync(resolve(__dirname, 'src/**/*.ts')), + entry: [ + ...glob.sync(resolve(__dirname, 'src/**/*.ts')), + ...glob.sync(resolve(__dirname, 'seeders/**/*.ts')) + ], formats: ['es'] }, rollupOptions: {