question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Bundle public vendor packages

See original GitHub issue

Feature 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
danilopolanicommented, Oct 28, 2020

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!

1reaction
pxpmcommented, Oct 22, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found