Skip to content

Commit

Permalink
feat: prefer pnpm to install esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ambar committed May 24, 2024
1 parent 698bedd commit dd38750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode-bundle-size/src/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const install = async (onInstall: AnyFunction) => {
}
onInstall()
let err: unknown
for (const cmd of ['yarn --prod', 'npm i --prod']) {
for (const cmd of ['pnpm i --prod', 'yarn --prod', 'npm i --prod']) {
await command(cmd, {cwd: __dirname}).catch((e) => {
err = e
})
Expand Down

0 comments on commit dd38750

Please sign in to comment.