File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
packages/@tailwindcss-standalone/scripts Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,17 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url))
77
88// Workaround for Bun binary downloads failing on Windows CI when
99// USERPROFILE is passed through by Turborepo.
10- process . env . USERPROFILE = ''
10+ //
11+ // Unfortunately, setting this at runtime doesn't appear to work so we have to
12+ // spawn a new process without the env var.
13+ if ( process . env . NESTED_BUILD !== '1' && process . env . USERPROFILE && process . env . USERPROFILE !== '' ) {
14+ let result = await Bun . $ `bun ./build.ts` . env ( {
15+ USERPROFILE : '' ,
16+ NESTED_BUILD : '1' ,
17+ } )
18+
19+ process . exit ( result . exitCode )
20+ }
1121
1222// We use baseline builds for all x64 platforms to ensure compatibility with
1323// older hardware.
You can’t perform that action at this time.
0 commit comments