src-run / augustus-polyfill-library

Provides a single include that wraps all polyfill implementations.
MIT License
0 stars 0 forks source link

Individual polyfill packages should be used instead of symfony/polyfill #1

Open stof opened 1 year ago

stof commented 1 year ago

Currently, this package depends on symfony/polyfill instead of the individual symfony/polyfill-* packages. This package installing the whole mono-repo is discouraged as it installs much more stuff than necessary.

The Symfony team (which I'm a member of) recommends using the individual packages instead. If we were starting it today, we would not even publish the symfony/polyfill package on Packagist at all, keeping it a development-only mono-repo.

stof commented 1 year ago

Btw, as your package requires PHP 8.0+, some of the individual polyfill packages would be unnecessary.