Skip to content

Commit

Permalink
perf: prefer offline mode for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 8, 2024
1 parent 10fe398 commit c06f56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const usePlaygroundStore = defineStore('playground', () => {

status.value = 'install'

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

Expand Down

0 comments on commit c06f56f

Please sign in to comment.