Browse Source

ci: build via pnpm in verify-treeshaking script

Evan You 2 years ago
parent
commit
4c88ff73b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/verify-treeshaking.js

+ 1 - 1
scripts/verify-treeshaking.js

@@ -2,7 +2,7 @@
 import fs from 'node:fs'
 import { execa } from 'execa'
 
-execa('node', ['scripts/build.js', 'vue', '-f', 'global-runtime']).then(() => {
+execa('pnpm', ['build', 'vue', '-f', 'global-runtime']).then(() => {
   const errors = []
 
   const devBuild = fs.readFileSync(