mirror of
https://github.com/actions/setup-python.git
synced 2025-06-29 14:13:48 +00:00
perf: add dynamically loaded cache-dependencies module
This reduces the main bundle size by ⚠️ 1.1 MB minified! This bundle is loaded only when caching is enabled.
The reason for this huge reduction is that caching dependencies uses the `@actions/cache` package, which is an extremely large package with big dependencies.
`setup-python` is used in `setup-cpp` as a library. This optimization reduces the bundle size for that package as well.
This commit is contained in:
parent
70dcb22d26
commit
9700887518
6 changed files with 76155 additions and 99283 deletions
97318
dist/cache-save/index.js
vendored
97318
dist/cache-save/index.js
vendored
File diff suppressed because one or more lines are too long
78034
dist/setup/index.js
vendored
78034
dist/setup/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue