Skip to content

Commit

Permalink
infra: add seeder scripts to dist
Browse files Browse the repository at this point in the history
Signed-off-by: Radek Ježek <radek.jezek@ibm.com>
  • Loading branch information
jezekra1 committed Oct 17, 2024
1 parent 815b2e4 commit 35622a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 35622a7

Please sign in to comment.