Initial Commit
This commit is contained in:
9
packages/util/build.ts
Normal file
9
packages/util/build.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
const bundle = await Bun.build({
|
||||
entrypoints: ['./src/***.ts', '!./src/**/*.test.ts'],
|
||||
outdir: 'dist',
|
||||
minify: true,
|
||||
});
|
||||
|
||||
if (!bundle.success) {
|
||||
throw new AggregateError(bundle.logs);
|
||||
}
|
||||
Reference in New Issue
Block a user