Skip to content

Move webpack-encore-bundle to require-dev and drop stale conflicts - #22

Merged
songecko merged 2 commits into
masterfrom
fix/encore-bundle-require-dev
Sep 2, 2026
Merged

songecko merged 2 commits into
masterfrom
fix/encore-bundle-require-dev

Conversation

@damic88

@damic88 damic88 commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Refs #21 The runtime requirement on symfony/webpack-encore-bundle
blocks projects that build their frontend with Vite.

The plugin has no assets/, ships no compiled JS/CSS, and none of its Twig
templates call encore_entry_*. The requirement came in with bc4f278,
copied from the Sylius plugin skeleton.

Kept in require-dev rather than removed: tests/Application/config/bundles.php:58
registers WebpackEncoreBundle and CI compiles the shop/admin entrypoints
with it, so the test kernel needs the package.

Also drops the conflict entries on symfony/framework-bundle: 6.2.8 and
api-platform/core: 2.7.17 (single broken releases from the 1.12 era).
behat/mink-selenium2-driver stays — that one is real.

Note for the reporter: the real Vite risk is jQuery, not Encore —
Shop/Product/Show/_affiliate_referral.html.twig uses $.ajax inline.
Separate PR.

@damic88
damic88 requested a review from songecko September 2, 2026 15:21
The plugin ships no assets and no template calls encore_entry_*, so it was
never a runtime dependency — but the Behat test app registers the bundle in
bundles.php, so it stays in require-dev. Also drops the conflicts on
symfony/framework-bundle 6.2.8 and api-platform/core 2.7.17, both inherited
from the skeleton in bc4f278 and no longer reachable.
@damic88
damic88 force-pushed the fix/encore-bundle-require-dev branch from 5acf803 to 2130b22 Compare September 2, 2026 18:24
The manifest claimed PHP 8.0 support that cannot be installed: the Twig
version reachable through sylius/mailer-bundle requires 8.1 or newer, so
a fresh install on 8.0 fails during resolution with no indication that
this package is the constraint. The CI matrix already covers 8.1 and 8.2
only.
@songecko
songecko merged commit 3c88763 into master Sep 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants