Skip to content

Commit

Permalink
fix: default dts config overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jul 12, 2024
1 parent 56dba80 commit 9a65cb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function CloudflarePagesFunctions(userConfig: UserConfig = {}): Plugin {
await killProcess();
});

if (!userConfig.dts) {
if (typeof userConfig.dts !== 'boolean' && typeof userConfig.dts !== 'string') {
userConfig.dts = true;
}

Expand Down

0 comments on commit 9a65cb6

Please sign in to comment.