1 parent 8ddf57e commit 56b5742Copy full SHA for 56b5742
1 file changed
scripts/buildFixtures.ts
@@ -18,12 +18,16 @@ async function run () {
18
await fs.remove(join(path, 'dist'))
19
}
20
console.log(c.yellow(c.inverse(c.bold('\n Vite '))), name, '\n')
21
+ execSync('npx vite --version', { cwd: path, stdio: 'inherit' })
22
execSync('npx vite build', { cwd: path, stdio: 'inherit' })
23
console.log(c.red(c.inverse(c.bold('\n Rollup '))), name, '\n')
24
+ execSync('npx rollup --version', { cwd: path, stdio: 'inherit' })
25
execSync('npx rollup -c', { cwd: path, stdio: 'inherit' })
26
console.log(c.blue(c.inverse(c.bold('\n Webpack '))), name, '\n')
27
+ execSync('npx webpack --version', { cwd: path, stdio: 'inherit' })
28
execSync('npx webpack', { cwd: path, stdio: 'inherit' })
29
console.log(c.yellow(c.inverse(c.bold('\n Esbuild '))), name, '\n')
30
+ execSync('npx esbuild --version', { cwd: path, stdio: 'inherit' })
31
execSync('node esbuild.config.js', { cwd: path, stdio: 'inherit' })
32
33
0 commit comments