Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

fix(cli): Exclude source maps from bundled client

#18571Merged
Comparing
fix/source-maps-cli
(
8c76627
) with
main
(
df69320
)
CodSpeed Performance Gauge
+35%
Improvements
1
Regressions
0
Untouched
2
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

client generation 100 models with relations
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations
CodSpeed Performance Gauge
+35%
11.7 s
8.7 s

Passed

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
-6%
1.2 s
1.3 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
-19%
10.6 ms
13.1 ms

Commits

Click on a commit to change the comparison range
Base
main
df69320
+35%
fix(cli): Exclude source maps from bundled client Client, bundled in cli still shipped with source maps. Fixed by using `npm-packlist`, so that contents of bundled client will always be identical to `@prisma/client` pacakge.
8c76627
2 years ago
by SevInf
© 2025 CodSpeed Technology
Home Terms Privacy Docs