vite build
built-in 0.0% Savings
0 Commands
0 Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = "vite build"
description = "Strip blank lines and script prefix; show build output and bundle sizes"
strip_ansi = true
skip = [
"^\\s*$",
"^> ",
"^\\s*\\$\\s",
"^vite v",
"^transforming",
"^rendering chunks",
"^computing gzip",
"^dist/",
"^\\.\\.\\.",
]
[on_success]
extract = { pattern = "built in (.+)", output = "✓ vite build: {1}" }
[on_failure]
tail = 30
Examples
build failure shows error details
~139 tokens → ~125 tokens
(10% saved)
Raw output
> ssp-erp@0.1.0 build
> vue-tsc -b && vite build
src/features/payroll/ui/PayrollCalculation.vue:42:7 - error TS2322: Type 'string' is not assignable to type 'number'.
42 const amount: number = getAmount();
~~~~~~
src/entities/employee/model/types.ts:15:3 - error TS2741: Property 'department' is missing in type '{}' but required in type 'Employee'.
15 department: string;
~~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 src/features/payroll/ui/PayrollCalculation.vue:42
1 src/entities/employee/model/types.ts:15 Filtered output
src/features/payroll/ui/PayrollCalculation.vue:42:7 - error TS2322: Type 'string' is not assignable to type 'number'.
42 const amount: number = getAmount();
~~~~~~
src/entities/employee/model/types.ts:15:3 - error TS2741: Property 'department' is missing in type '{}' but required in type 'Employee'.
15 department: string;
~~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 src/features/payroll/ui/PayrollCalculation.vue:42
1 src/entities/employee/model/types.ts:15 successful build collapses to summary
~190 tokens → ~5 tokens
(97% saved)
Raw output
> ssp-erp@0.1.0 build > vue-tsc -b && vite build vite v5.4.19 building for production... transforming (1) transforming (100) transforming (500) transforming (1000) transforming (1500) ✓ 1732 modules transformed. rendering chunks (1)... rendering chunks (50)... computing gzip size (1)... computing gzip size (50)... dist/assets/logo-BhG4Szvc.svg 0.49 kB │ gzip: 0.35 kB dist/assets/PrimeIcons-CQZREGVR.woff2 18.55 kB │ gzip: 18.55 kB dist/assets/PrimeIcons-B5CUZZXG.woff 18.79 kB │ gzip: 18.79 kB dist/assets/PrimeIcons-DWcP1cBi.ttf 38.54 kB │ gzip: 20.30 kB dist/assets/index-D1q9eBoM.css 285.01 kB │ gzip: 37.66 kB dist/assets/index-BfZLhkYs.js 1,014.21 kB │ gzip: 293.14 kB ✓ built in 4.41s
Filtered output
✓ vite build: 4.41s
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters