Closed hanspagel closed 1 month ago
Latest commit: 536d7f92006f7018ff143a591b2b00fbdf5dac6a
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
536d7f9(current) vs 72703c8 main#83(baseline)
Bundle metrics
2 changes
1 improvement
Current #87 |
Baseline #83 |
|
---|---|---|
Initial JS | 114.45KiB (-0.22% ) |
114.71KiB |
Initial CSS | 0B |
0B |
Cache Invalidation | 3.08% |
4.51% |
Chunks | 45 |
45 |
Assets | 45 |
45 |
Modules | 45 |
45 |
Duplicate Modules | 0 |
0 |
Duplicate Code | 0% |
0% |
Packages | 0 |
0 |
Duplicate Packages | 0 |
0 |
1 change
1 improvement
Bundle analysis report Branch chore/entrypoints-for-plugins Project dashboard
Latest commit: |
536d7f9
|
Status: | ✅ Deploy successful! |
Preview URL: | https://56dfd698.openapi-parser.pages.dev |
Branch Preview URL: | https://chore-entrypoints-for-plugin.openapi-parser.pages.dev |
I’ve got some errors with
node:fs
(used in thereadFiles
plugin) in a Docusaurus/Webpack setup, though it wasn’t even used. Seems Webpack isn’t shaking the tree enough.This PR moves the two plugins to dedicated entrypoints, that can be used like that:
This should help Webpack, because it doesn't need to shake the tree if the tree isn’t even in the garden. If you know what I mean. :)
I've tested the build and it fixed the problem.