From 2280bc8ba0d5279783c82dd337407ab38e58b1a5 Mon Sep 17 00:00:00 2001 From: renzp94 <1074720760@qq.com> Date: Wed, 24 Apr 2024 13:41:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4=E6=89=93=E5=8C=85?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build.ts | 2 ++ 1 file changed, 2 insertions(+) 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()], })