Skip to content

Commit 56b5742

Browse files
committed
chore: display version on bundling
1 parent 8ddf57e commit 56b5742

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎scripts/buildFixtures.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@ async function run () {
1818
await fs.remove(join(path, 'dist'))
1919
}
2020
console.log(c.yellow(c.inverse(c.bold('\n Vite '))), name, '\n')
21+
execSync('npx vite --version', { cwd: path, stdio: 'inherit' })
2122
execSync('npx vite build', { cwd: path, stdio: 'inherit' })
2223
console.log(c.red(c.inverse(c.bold('\n Rollup '))), name, '\n')
24+
execSync('npx rollup --version', { cwd: path, stdio: 'inherit' })
2325
execSync('npx rollup -c', { cwd: path, stdio: 'inherit' })
2426
console.log(c.blue(c.inverse(c.bold('\n Webpack '))), name, '\n')
27+
execSync('npx webpack --version', { cwd: path, stdio: 'inherit' })
2528
execSync('npx webpack', { cwd: path, stdio: 'inherit' })
2629
console.log(c.yellow(c.inverse(c.bold('\n Esbuild '))), name, '\n')
30+
execSync('npx esbuild --version', { cwd: path, stdio: 'inherit' })
2731
execSync('node esbuild.config.js', { cwd: path, stdio: 'inherit' })
2832
}
2933
}

0 commit comments

Comments
 (0)