Skip to content

Commit

Permalink
Merge pull request #6 from maxwroc/FixReleaseBuild
Browse files Browse the repository at this point in the history
Fixed declarations bundle
  • Loading branch information
maxwroc authored Dec 10, 2021
2 parents d3076aa + b969946 commit 33f7454
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ const plugins = [
}),
resolve(),
typescript({
tsconfigOverride: { compilerOptions: { declaration: !!process.env.RELEASE } },
tsconfigOverride: {
compilerOptions: {
declaration: !!process.env.RELEASE,
declarationDir: "src/dts"
}
},
useTsconfigDeclarationDir: process.env.RELEASE
})
];
Expand Down

0 comments on commit 33f7454

Please sign in to comment.