A simple but powerful API for processing & compiling assets built around Webpack
A simple but powerful API for processing & compiling assets built around Webpack
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.
[!IMPORTANT] Webpack Encore is now in low-maintenance mode (bug fixes, security patches, and
peerDependenciesupdates only). If your project needs a bundler, we recommend migrating to Symfony Reprise.
[!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!
No open issues yet, or sync has not completed.