Skip to content

Commit

Permalink
fix: Only generate typings one time to prevent incorrect directory st…
Browse files Browse the repository at this point in the history
…ructure

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jul 5, 2023
1 parent 99151f1 commit f14e6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const config = (input, output) => ({
external,
plugins: [
nodeResolve(),
typescript(),
typescript({ declaration: input === './lib/index.ts' }),
commonjs(),
],
output: [output],
Expand Down

0 comments on commit f14e6a8

Please sign in to comment.