Skip to content

Commit a1d9864

Browse files
committed
fix: patch rollup getReport() for windows
1 parent fe448bf commit a1d9864

File tree

3 files changed

+65
-44
lines changed

3 files changed

+65
-44
lines changed

patches/[email protected]

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git a/dist/native.js b/dist/native.js
2+
index bea730a21c14e5307a062f075dd7690254d1fd88..8a77576b164dc0b95b5dc7aa3f2911384da47852 100644
3+
--- a/dist/native.js
4+
+++ b/dist/native.js
5+
@@ -32,11 +32,7 @@ const bindingsByPlatformAndArch = {
6+
win32: {
7+
arm64: { base: 'win32-arm64-msvc' },
8+
ia32: { base: 'win32-ia32-msvc' },
9+
- x64: {
10+
- base: report.getReport().header.osName.startsWith('MINGW32_NT')
11+
- ? 'win32-x64-gnu'
12+
- : 'win32-x64-msvc'
13+
- }
14+
+ x64: { base: 'win32-x64-msvc' }
15+
}
16+
};
17+

pnpm-lock.yaml

Lines changed: 43 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ onlyBuiltDependencies:
1919
- workerd
2020

2121
overrides:
22-
'@builder.io/qwik': 'npm:@qwik.dev/core@*'
23-
'@builder.io/qwik-city': 'npm:@qwik.dev/router'
24-
'@types/estree': '1.0.8'
25-
'prettier': '3.6.2'
22+
'@builder.io/qwik': npm:@qwik.dev/core@*
23+
'@builder.io/qwik-city': npm:@qwik.dev/router
24+
'@types/estree': 1.0.8
25+
prettier: 3.6.2
2626
typescript: 5.9.2
2727
vfile: 6.0.3
2828

2929
patchedDependencies:
3030
3131
32+
3233

3334
shellEmulator: true

0 commit comments

Comments
 (0)