# symfony/webpack-encore

A simple but powerful API for processing & compiling assets built around Webpack

Repository: https://github.com/symfony/webpack-encore
Canonical: https://ross.abutalabs.com/products/webpack-encore
Homepage: https://symfony.com/doc/current/frontend.html
Language: JavaScript
License: MIT
License Family: permissive
Topics: webpack, react, babel, sass, less, postcss, symfony
Last push: 2026-08-14T13:25:37+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 83, longevity 100
- inputs: {"age_days": 3369, "days_push": 19, "days_rel": 38, "gap_med": 84, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2220, forks 202 (observed 2026-08-28T04:06:27.477515+00:00)

## What it is
Webpack Encore is a JavaScript library providing a simple, powerful API on top of Webpack for bundling JavaScript, compiling and minifying CSS/JS assets, and managing frontend builds. It is developed by Symfony but usable in any application, and is now in low-maintenance mode with Symfony recommending migration to Symfony Reprise or AssetMapper.

## Use cases
- bundle javascript and css assets with a simple webpack api
- compile sass and less stylesheets in a web project
- set up react or vue with babel and webpack easily
- version and hash assets for cache busting
- enable hot module replacement during development
- split javascript code into async chunks
- minify javascript and css for production

## When to choose
- you have an existing Symfony app already built on Encore
- you want a simplified, opinionated wrapper around Webpack for asset compilation
- you need Sass, Less, PostCSS, TypeScript, React or Vue support with minimal config
- you want asset versioning, code splitting and HMR without hand-writing Webpack config

## When to avoid
- you are starting a new project - Symfony recommends AssetMapper or Symfony Reprise (Vite/Rsbuild) instead
- you need a bundler with active feature development, since Encore is in low-maintenance mode
- you want a no-build-step asset system - AssetMapper runs entirely in PHP
- your project does not use Node.js

## Facets
- artifact type: library
- maturity: maintenance
- function: build-tool, developer-tools
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: webpack, asset-bundling, symfony, css-preprocessors, babel, sass, postcss, react, vue, typescript, code-splitting, asset-versioning, hot-module-replacement, nodejs, javascript

## Member repositories
- symfony/webpack-encore (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.477515+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:45:51.183304+00:00, confidence not recorded.
  - readme: https://github.com/symfony/webpack-encore (fetched 2026-08-28T04:06:27.477515+00:00, sha a46cd626b527)
  - homepage: https://symfony.com/doc/current/frontend.html (fetched 2026-08-29T10:26:05.736992+00:00, sha 8ea84cf9ac68)
  - site_page: https://symfony.com/bundles/reprise/current/index.html (fetched 2026-08-29T10:26:05.744302+00:00, sha 9795c119e184)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T10:26:05.739672+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/frontend/asset_mapper.html (fetched 2026-08-29T10:26:05.741410+00:00, sha 1eca7218afe2)
  - site_page: https://symfony.com/doc/current/frontend/encore/index.html (fetched 2026-08-29T10:26:05.746615+00:00, sha d1035b24c98f)
  - site_page: https://symfony.com/bundles/StimulusBundle/current/index.html (fetched 2026-08-29T10:26:05.748268+00:00, sha e7c259fdd765)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T10:26:05.750197+00:00, sha 2fd410222cfe)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T10:26:05.751965+00:00, sha a84b8a49342e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
