Skip to content

Commit 2fb634a

Browse files
committed
build: force native fetch
1 parent ba2fd56 commit 2fb634a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ export default defineBuildConfig({
3636
"src/cli/index.ts",
3737
"src/types/index.ts",
3838
],
39+
rolldown: {
40+
resolve: {
41+
alias: {
42+
"node-fetch-native/proxy": "node-fetch-native/native",
43+
"node-fetch-native": "node-fetch-native/native",
44+
},
45+
},
46+
},
3947
},
4048
{
4149
type: "transform",

0 commit comments

Comments
 (0)