https://github.com/symfony/webpack-encore
A simple but powerful API for processing & compiling assets built around Webpack
https://github.com/symfony/webpack-encore
babel less postcss react sass symfony webpack
Last synced: 3 days ago
JSON representation
A simple but powerful API for processing & compiling assets built around Webpack
- Host: GitHub
- URL: https://github.com/symfony/webpack-encore
- Owner: symfony
- License: mit
- Created: 2017-06-12T17:02:00.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2026-10-01T18:28:44.000Z (20 days ago)
- Last Synced: 2026-10-05T16:55:27.928Z (17 days ago)
- Topics: babel, less, postcss, react, sass, symfony, webpack
- Language: JavaScript
- Homepage: https://symfony.com/doc/current/frontend.html
- Size: 9.73 MB
- Stars: 2,221
- Watchers: 40
- Forks: 201
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-php-cn - Symfony Encore - 一个简单但功能强大的API来处理和编制资产围绕Webpack构建的. (目录 / 资产管理 Asset Management)
- awesome-projects - Symfony Encore - A simple but powerful API for processing and compiling assets built around Webpack. (PHP / Asset Management)
- awesome-php - Symfony Encore - A simple but powerful API for processing and compiling assets built around Webpack. (Table of Contents / Asset Management)
- awesome-php - Symfony Encore - A simple but powerful API for processing and compiling assets built around Webpack. (Table of Contents / Asset Management)
- fucking-awesome-php - Symfony Encore - A simple but powerful API for processing and compiling assets built around Webpack. (Table of Contents / Asset Management)
- awesome-php - Symfony Encore - simple but powerful API for processing & compiling assets built around Webpack (MIT) (Table of Contents / Globalization)
- awesome-php - Symfony Encore - A simple but powerful API for processing and compiling assets built around Webpack. (Table of Contents / Asset Management)
README
# Webpack Encore: A Simple & Powerful Webpack API
[](https://travis-ci.org/symfony/webpack-encore)
[](https://badge.fury.io/js/%40symfony%2Fwebpack-encore)

Webpack Encore is a simpler way to integrate [Webpack](https://webpack.js.org/) 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 `peerDependencies` updates only). If your project needs a bundler, we recommend migrating to [Symfony Reprise](https://github.com/symfony/reprise).
> [!TIP]
> Symfony released an [AssetMapper](https://symfony.com/doc/current/frontend/asset_mapper.html) component, a production-ready simpler alternative to Webpack Encore
> that runs entirely in PHP.
Encore is inspired by [Webpacker](https://github.com/rails/webpacker) and
[Mix](https://laravel.com/docs/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!
## Documentation
[Read the Documentation on symfony.com](https://symfony.com/doc/current/frontend/encore/index.html).