Skip to content

Commit

Permalink
chore: use isolated declarations for dts (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre authored Sep 29, 2024
1 parent bfaf614 commit 33d0246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports.default = react;`,
copyFileSync("README.md", "dist/README.md");

execSync(
"tsc src/index.ts --declaration --emitDeclarationOnly --outDir dist --target es2020 --module es2020 --moduleResolution bundler",
"tsc src/index.ts --declaration --isolatedDeclarations --noCheck --emitDeclarationOnly --outDir dist --target es2020 --module es2020 --moduleResolution bundler",
{ stdio: "inherit" },
);

Expand Down

0 comments on commit 33d0246

Please sign in to comment.