UNPKG

vite-plugin-tsconfig

Version:

Vite plugin that allows you to use alternate tsconfig files.

22 lines (17 loc) 610 B
import { $ } from 'execa' import { rimraf as r } from 'rimraf' // TODO: promote this as a script to @alienfast/ci once it is stable // eslint-disable-next-line no-console console.log('Cleaning...') await $`yarn tsc -b --clean` // packages/*/dist cloud/*/dist .eslintcache ./packages/*/*.log *.log await Promise.all([ r('./{packages,cloud}/*/dist', { glob: true }), r('.eslintcache'), r('node_modules/.cache'), r('./{packages,cloud}/*/*.log', { glob: true }), r('*.log', { glob: true }), r('./{packages,cloud}/*/test-report.xml', { glob: true }), r('test-results'), r('test-report.xml'), ])