BlogDocs

fix(cli): Exclude source maps from bundled client(#18571)

Merged
Merging
fix/source-maps-cli
(
8c76627
) into
main
(
df69320
)
+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
+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
-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
-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
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.