Skip to content

Commit

Permalink
chore: fix tsc build moduleResolution (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Nov 3, 2023
1 parent 4b91f09 commit c1b153d
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 --module es2020 --moduleResolution node",
"tsc src/index.ts --declaration --emitDeclarationOnly --outDir dist --module es2020 --moduleResolution bundler",
{ stdio: "inherit" },
);

Expand Down

0 comments on commit c1b153d

Please sign in to comment.