diff --git a/scripts/build.ts b/scripts/build.ts index 647a7de..25670e2 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -30,7 +30,9 @@ const runBuild = async () => { const result = await Bun.build({ entrypoints, outdir: './dist', + naming: '[name].[ext]', splitting: true, + format: 'esm', plugins: [dts()], })