File tree Expand file tree Collapse file tree
packages/cli/snap-tests/command-lib-monorepo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11export default {
22 entry : 'src/index.ts' ,
3- format : [ 'esm' , ' cjs'] ,
3+ format : [ 'cjs' ] ,
44} ;
Original file line number Diff line number Diff line change 44ℹ Using tsdown config: <cwd>/packages/hello/tsdown.config.ts
55ℹ entry: src/index.ts
66ℹ 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
7+ ℹ dist/index.cjs <variable> kB │ gzip: <variable> kB
8+ ℹ 1 files, total: <variable> kB
119✔ Build complete in <variable>ms
1210
1311
@@ -27,18 +25,15 @@ Task Details:
2725
2826> ls packages/hello/dist # should have the library
2927index.cjs
30- index.mjs
3128
3229> vite run hello#build # should hit cache
3330~/packages/hello$ vite lib (✓ cache hit, replaying)
3431ℹ tsdown v<semver> powered by rolldown v<semver>
3532ℹ Using tsdown config: <cwd>/packages/hello/tsdown.config.ts
3633ℹ entry: src/index.ts
3734ℹ 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
35+ ℹ dist/index.cjs <variable> kB │ gzip: <variable> kB
36+ ℹ 1 files, total: <variable> kB
4237✔ Build complete in <variable>ms
4338
4439
You can’t perform that action at this time.
0 commit comments