Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit c1b153d

Browse files
authored
chore: fix tsc build moduleResolution (#168)
1 parent 4b91f09 commit c1b153d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports.default = react;`,
5757
copyFileSync("README.md", "dist/README.md");
5858

5959
execSync(
60-
"tsc src/index.ts --declaration --emitDeclarationOnly --outDir dist --module es2020 --moduleResolution node",
60+
"tsc src/index.ts --declaration --emitDeclarationOnly --outDir dist --module es2020 --moduleResolution bundler",
6161
{ stdio: "inherit" },
6262
);
6363

0 commit comments

Comments
 (0)