Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/workshop-frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ const ownDist = { pattern: '!dist/**', base: 'package' } as const
const runConfig = {
run: {
tasks: {
'clean:dist': { command: 'rm -rf dist', cache: false },
'clean:dist': {
command: `node -e "require('node:fs').rmSync('dist', { recursive: true, force: true })"`,
cache: false,
},
/**
* `build` is a task rather than a package.json script so `env` can declare the `VITE_*` flags
* it reads: a cached `vp` run executes scripts in a clean environment, and the values would be
Expand Down
Loading