Skip to content

Commit 9a65cb6

Browse files
committed
fix: default dts config overwrite
1 parent 56dba80 commit 9a65cb6

File tree

1 file changed

+1
-1
lines changed
  • packages/vite-plugin-cloudflare-functions/src/vite

1 file changed

+1
-1
lines changed

packages/vite-plugin-cloudflare-functions/src/vite/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function CloudflarePagesFunctions(userConfig: UserConfig = {}): Plugin {
4747
await killProcess();
4848
});
4949

50-
if (!userConfig.dts) {
50+
if (typeof userConfig.dts !== 'boolean' && typeof userConfig.dts !== 'string') {
5151
userConfig.dts = true;
5252
}
5353

0 commit comments

Comments
 (0)