Skip to content

Commit

Permalink
fix: obviate effect of declarationDir config
Browse files Browse the repository at this point in the history
fix #258
  • Loading branch information
qmhc committed Aug 6, 2023
1 parent 2b7c47c commit 7dee40b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugin.ts
Expand Up @@ -246,7 +246,8 @@ export function dtsPlugin(options: PluginOptions = {}): import('vite').Plugin {
...(content?.options || {}),
...(options.compilerOptions || {}),
...fixedCompilerOptions,
outDir: '.'
outDir: '.',
declarationDir: '.'
}
rawCompilerOptions = content?.raw.compilerOptions || {}

Expand Down

0 comments on commit 7dee40b

Please sign in to comment.