Closed eduardoboucas closed 1 year ago
Comparing with 9f3dab86ae7e3ba894abaffd527b532f6b395d92
⬇️ 29.04% decrease vs. 9f3dab86ae7e3ba894abaffd527b532f6b395d92
^ 3.6s
│ ┌──┐ 3.4s 3.3s
│ 3.2s | | 3.2s ┌──┐ ┌──┐
│ ┌──┐ | | ┌──┐ | | | |
│ | | | | | | 2.8s | | | |
│ ──┼──┼────2.7s────┼──┼────┼──┼────┌──┐────2.7s────2.7s────┼──┼────2.6s────2.7s────────────┼──┼────2.6s──
│ | | ┌──┐ | | | | | | ┌──┐ ┌──┐ | | ┌──┐ ┌──┐ 2.5s | | ┌──┐
│ | | | | | | | | | | | | | | | | | | | | ┌──┐ | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
T-12 T-11 T-10 T-9 T-8 T-7 T-6 T-5 T-4 T-3 T-2 T-1 T
⬇️ 32.26% decrease vs. 9f3dab86ae7e3ba894abaffd527b532f6b395d92
^ 11.6s
│ ┌──┐
│ 10.2s | | 10.7s
│ ┌──┐ | | 9.8s ┌──┐ 10s
│ | | | | ┌──┐ | | ┌──┐
│ ──┼──┼────────────┼──┼────┼──┼────8.7s────8.5s────8.4s────┼──┼────8.4s────────────────────┼──┼──────────
│ | | 8.3s | | | | ┌──┐ ┌──┐ ┌──┐ | | ┌──┐ 8.2s | |
│ | | ┌──┐ | | | | | | | | | | | | | | ┌──┐ 7.8s | | 7.6s
│ | | | | | | | | | | | | | | | | | | | | ┌──┐ | | ┌──┐
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
T-12 T-11 T-10 T-9 T-8 T-7 T-6 T-5 T-4 T-3 T-2 T-1 T
⬇️ 30.27% decrease vs. 9f3dab86ae7e3ba894abaffd527b532f6b395d92
^ 21.8s
│ ┌──┐ 20.6s
│ 19.9s | | 19.4s ┌──┐ 20s
│ ┌──┐ | | ┌──┐ | | ┌──┐
│ | | | | | | | | | |
│ ──┼──┼───16.2s────┼──┼────┼──┼───16.8s───16.2s───16.5s────┼──┼───16.1s───16.3s────────────┼──┼──────────
│ | | ┌──┐ | | | | ┌──┐ ┌──┐ ┌──┐ | | ┌──┐ ┌──┐ 15.6s | | 15.4s
│ | | | | | | | | | | | | | | | | | | | | ┌──┐ | | ┌──┐
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
│ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒|
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
T-12 T-11 T-10 T-9 T-8 T-7 T-6 T-5 T-4 T-3 T-2 T-1 T
@Skn0tt I pushed https://github.com/netlify/zip-it-and-ship-it/pull/1614/commits/a8af2875f0f2005cdd678ad67e0bbd3ca02f301d with a change to the test, ensuring we run for all bundler variants and don't include the side files unless the default bundler is used.
Can you re-approve, please?
Summary
In the legacy
zisi
bundler , functions defined in a sub-directory had any sibling files recursively added to the bundle., regardless of whether they were statically required by the function or not.As we try to remove this bundler entirely without breaking existing workflows, this PR ports that behaviour over to NFT, only when the default bundler is used (so that we don't affect functions explicitly opting in to
nft
).