serverless-next.js
serverless-next.js copied to clipboard
chore: remove deprecated `addAlias` usage
Description
This removes usage of the deprecated .addAlias method
Closes https://github.com/serverless-nextjs/serverless-next.js/issues/2470
Handler Size Report
No changes to handler sizes.
Base Handler Sizes (kB) (commit e6367b585fb98608cd2e9327e2c8d4058ba73b00)
{
"Lambda": {
"Default Lambda": {
"Standard": 1578,
"Minified": 692
},
"Image Lambda": {
"Standard": 1543,
"Minified": 831
}
},
"Lambda@Edge": {
"Default Lambda": {
"Standard": 1588,
"Minified": 698
},
"Default Lambda V2": {
"Standard": 1580,
"Minified": 694
},
"API Lambda": {
"Standard": 634,
"Minified": 318
},
"Image Lambda": {
"Standard": 1551,
"Minified": 835
},
"Regeneration Lambda": {
"Standard": 1233,
"Minified": 566
},
"Regeneration Lambda V2": {
"Standard": 1307,
"Minified": 596
}
}
}
New Handler Sizes (kB) (commit 07fb6293cadc9c23df8c32226d3afbc0350b341c)
{
"Lambda": {
"Default Lambda": {
"Standard": 1578,
"Minified": 692
},
"Image Lambda": {
"Standard": 1543,
"Minified": 831
}
},
"Lambda@Edge": {
"Default Lambda": {
"Standard": 1588,
"Minified": 698
},
"Default Lambda V2": {
"Standard": 1580,
"Minified": 694
},
"API Lambda": {
"Standard": 634,
"Minified": 318
},
"Image Lambda": {
"Standard": 1551,
"Minified": 835
},
"Regeneration Lambda": {
"Standard": 1233,
"Minified": 566
},
"Regeneration Lambda V2": {
"Standard": 1307,
"Minified": 596
}
}
}
Codecov Report
Merging #2471 (07fb629) into master (e6367b5) will increase coverage by
0.03%. The diff coverage is100.00%.
@@ Coverage Diff @@
## master #2471 +/- ##
==========================================
+ Coverage 83.85% 83.88% +0.03%
==========================================
Files 102 102
Lines 3717 3718 +1
Branches 1191 1192 +1
==========================================
+ Hits 3117 3119 +2
+ Misses 588 587 -1
Partials 12 12
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...rless-components/nextjs-cdk-construct/src/index.ts | 94.01% <100.00%> (+0.05%) |
:arrow_up: |
| packages/libs/core/src/images/imageOptimizer.ts | 84.51% <0.00%> (+0.41%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.