You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've just started trying out plate and so far it's been great! One small thing I noticed though was that many of the plate packages have exact external dependency versions hardcoded, for example, in core:
This unfortunately can really bloat bundlesize because it means that plate can't share a version of a dependency with other packages that require the same dependency, and the dependency ends up getting installed and bundled multiple times.
Would you be willing to make all the dependency versions accept patch and minor releases above what you currently have? So "lodash": "4.17.21", -> "lodash": "^4.17.21",for eample?
Thanks for the consideration, and apologies if this isn't really a "bug", wasn't sure where to file it!
The text was updated successfully, but these errors were encountered:
is there a plan to do this soon / to make some packages modular ? Right now Plate adds 600kB to bundle size which is huge ; for example plate-code-block adds 100k in dependencies (prism) even if not used ; and the dependency on juice adds over 250k by itself
Description
We've just started trying out plate and so far it's been great! One small thing I noticed though was that many of the plate packages have exact external dependency versions hardcoded, for example, in
core
:plate/packages/core/package.json
Lines 42 to 46 in 9b0cf59
This unfortunately can really bloat bundlesize because it means that plate can't share a version of a dependency with other packages that require the same dependency, and the dependency ends up getting installed and bundled multiple times.
Would you be willing to make all the dependency versions accept patch and minor releases above what you currently have? So
"lodash": "4.17.21",
->"lodash": "^4.17.21",
for eample?Thanks for the consideration, and apologies if this isn't really a "bug", wasn't sure where to file it!
The text was updated successfully, but these errors were encountered: