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

Commit c06f56f

Browse files
committed
perf: prefer offline mode for pnpm
1 parent 10fe398 commit c06f56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stores/playground.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const usePlaygroundStore = defineStore('playground', () => {
148148

149149
status.value = 'install'
150150

151-
const installExitCode = await spawn(wc, 'pnpm', ['install'])
151+
const installExitCode = await spawn(wc, 'pnpm', ['install', '--prefer-offline'])
152152
if (signal.aborted)
153153
return
154154

0 commit comments

Comments
 (0)