Webpack Encore is a simpler way to integrate Webpack into your application
npm install @symfony/webpack-encore

!Node
Webpack Encore is a simpler way to integrate Webpack into your
application. It wraps Webpack, giving you a clean & powerful API
for bundling JavaScript modules, pre-processing CSS & JS and compiling
and minifying assets. Encore gives you a professional asset system
that's a delight to use.
> [!TIP]
> Symfony released an AssetMapper component, a production-ready simpler alternative to Webpack Encore
> that runs entirely in PHP.
Encore is inspired by Webpacker and
Mix, but stays in the spirit of
Webpack: using its features, concepts and naming conventions for a familiar
feel. It aims to solve the most common Webpack use cases.
> Encore is made by Symfony and works beautifully in Symfony applications.
> But it can easily be used in any application... in any language!