|
| 1 | +> vite run hello#build # should build the library |
| 2 | +~/packages/hello$ vite lib |
| 3 | +ℹ tsdown v<semver> powered by rolldown v<semver> |
| 4 | +ℹ Using tsdown config: <cwd>/packages/hello/tsdown.config.ts |
| 5 | +ℹ entry: src/index.ts |
| 6 | +ℹ Build start |
| 7 | +ℹ [ESM] dist/index.mjs <variable> kB │ gzip: <variable> kB |
| 8 | +ℹ [ESM] 1 files, total: <variable> kB |
| 9 | +ℹ [CJS] dist/index.cjs <variable> kB │ gzip: <variable> kB |
| 10 | +ℹ [CJS] 1 files, total: <variable> kB |
| 11 | +✔ Build complete in <variable>ms |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 16 | + Vite+ Task Runner • Execution Summary |
| 17 | +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 18 | + |
| 19 | +Statistics: 1 tasks • 0 cache hits • 1 cache misses |
| 20 | +Performance: 0% cache hit rate |
| 21 | + |
| 22 | +Task Details: |
| 23 | +──────────────────────────────────────────────── |
| 24 | + [1] lib: ~/packages/hello$ vite lib ✓ |
| 25 | + → Cache miss: no previous cache entry found |
| 26 | +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 27 | + |
| 28 | +> ls packages/hello/dist # should have the library |
| 29 | +index.cjs |
| 30 | +index.mjs |
| 31 | + |
| 32 | +> vite run hello#build # should hit cache |
| 33 | +~/packages/hello$ vite lib (✓ cache hit, replaying) |
| 34 | +ℹ tsdown v<semver> powered by rolldown v<semver> |
| 35 | +ℹ Using tsdown config: <cwd>/packages/hello/tsdown.config.ts |
| 36 | +ℹ entry: src/index.ts |
| 37 | +ℹ Build start |
| 38 | +ℹ [ESM] dist/index.mjs <variable> kB │ gzip: <variable> kB |
| 39 | +ℹ [ESM] 1 files, total: <variable> kB |
| 40 | +ℹ [CJS] dist/index.cjs <variable> kB │ gzip: <variable> kB |
| 41 | +ℹ [CJS] 1 files, total: <variable> kB |
| 42 | +✔ Build complete in <variable>ms |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 47 | + Vite+ Task Runner • Execution Summary |
| 48 | +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
| 49 | + |
| 50 | +Statistics: 1 tasks • 1 cache hits • 0 cache misses |
| 51 | +Performance: 100% cache hit rate, <variable>ms saved in total |
| 52 | + |
| 53 | +Task Details: |
| 54 | +──────────────────────────────────────────────── |
| 55 | + [1] lib: ~/packages/hello$ vite lib ✓ |
| 56 | + → Cache hit - output replayed - <variable>ms saved |
| 57 | +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ |
0 commit comments