[Feature Request] Bundle public vendor packages
See original GitHub issueFeature Request
What’s the feature you think Backpack should have?
Bundle (out of the box) of public/packages
in a single (minified) file. Currently the packages folder is ~3.7k files and this slows down every action where git is involved (e.g. my Github action to deploy the project takes ~2m only to copy the public files)
Have you already implemented a prototype solution, for your own project?
No
Do you see this as a core feature or an add-on?
Core
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Composer packages in the Package Registry - GitLab Docs
A package in a GitLab repository. Composer packages should be versioned based on the Composer specification. · A valid composer.json file. · The...
Read more >webpack-bundle-analyzer - npm
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap. Latest version: 4.7.0, ...
Read more >API - esbuild
Bundle ; Define; Entry points; External; Format; Inject; Loader; Minify; Outdir; Outfile; Packages; Platform; Serve; Sourcemap; Splitting ...
Read more >Best Practices for Reusable Bundles (Symfony Docs)
Bundle Name; Directory Structure; Classes; Vendors ... This article is all about how to structure your reusable bundles to be configurable and extendable....
Read more >Contributing to open source bundles from vendor directory?
The way I typically contribute to a bundle is to make a fork, put the fork in a barebones symfony standard-edition app, make...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ehy @tabacitu , yeah bundling everything is not a good idea, in fact in my previous answer I went with another way (trying to remove useless files from being copied).
I agree with you about the solutions, if you read my comment I “drafted” an idea like your first 2 points, that is providing user ability to install only needed packages field-per-field reducing assets and installing only needed ones.
Anyway I don’t want to press you guys for v4.1 haha, this was just a discussion for a future version, you’re doing already a great job!
Hello @danilopolani
Thanks for raising this issue, we are aware of some kind of problems with our bundle size.
We are trying to figure out the best solution for it, but ATM we can’t provide a fix.
I am going to postpone this to 4.2 launch when we will go tackle “non-bug”/features/improvements as of now we are under active bug cleaning in 4.1 version.
If you have any solution that might work just share with us, we are open to ideas how we can improve.
Wish you the best, Pedro