# @symfony/webpack-encore

> Webpack Encore is a simpler way to integrate Webpack into your application

Latest version **7.2.0** (published 2026-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @symfony/webpack-encore
pnpm add @symfony/webpack-encore
yarn add @symfony/webpack-encore
bun add @symfony/webpack-encore
```

Provides the command `encore`.

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 7.2.0 |
| Published | 2026-07-26 |
| First published | 2017-06-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | ^22.18.0 \|\| ^24.11.0 \|\| >=26.0 |
| Dependencies | 15 |
| Unpacked size | 310.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2220 |
| Author | Ryan Weaver |
| Maintainers | realfabpot, weaverryan, kocal, stof |

## Links

- npm: https://www.npmjs.com/package/@symfony/webpack-encore
- Repository: https://github.com/symfony/webpack-encore
- Issues: https://github.com/symfony/webpack-encore/issues
- npm.io page: https://npm.io/package/@symfony/webpack-encore

## Dependencies (15)

- [tmp](https://npm.io/package/tmp.md) ^0.2.7
- [semver](https://npm.io/package/semver.md) ^7.3.2
- [tapable](https://npm.io/package/tapable.md) ^2.2.1
- [css-loader](https://npm.io/package/css-loader.md) ^7.1.0
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.0
- [babel-loader](https://npm.io/package/babel-loader.md) ^10.0.0
- [pretty-error](https://npm.io/package/pretty-error.md) ^4.0.0
- [style-loader](https://npm.io/package/style-loader.md) ^4.0.0
- [yargs-parser](https://npm.io/package/yargs-parser.md) ^21.0.0
- [resolve-url-loader](https://npm.io/package/resolve-url-loader.md) ^5.0.0
- [fastest-levenshtein](https://npm.io/package/fastest-levenshtein.md) ^1.0.16
- [mini-css-extract-plugin](https://npm.io/package/mini-css-extract-plugin.md) ^2.6.0
- [webpack-manifest-plugin](https://npm.io/package/webpack-manifest-plugin.md) ^6.0.1
- [minimizer-webpack-plugin](https://npm.io/package/minimizer-webpack-plugin.md) ^5.6.1
- [@kocal/friendly-errors-webpack-plugin](https://npm.io/package/@kocal/friendly-errors-webpack-plugin.md) ^3.0.0

## Recent versions

- 7.2.0 (latest) — 2026-07-26
- 7.1.0 — 2026-06-22
- 7.0.0 — 2026-06-22
- 6.0.0 — 2026-03-13
- 5.3.1 — 2025-11-18
- 5.3.0 — 2025-11-17
- 5.2.0 — 2025-08-25
- 5.1.0 — 2025-02-20
- 5.0.1 — 2024-10-02
- 5.0.0 — 2024-09-29
- 4.7.0 — 2024-08-29
- 4.6.1 — 2024-01-25
- 4.6.0 — 2024-01-22
- 4.5.0 — 2023-10-22
- 4.4.0 — 2023-07-10
- … 78 more at https://npm.io/package/@symfony/webpack-encore/versions

## README

# Webpack Encore: A Simple & Powerful Webpack API

[![Build Status](https://travis-ci.org/symfony/webpack-encore.svg?branch=main)](https://travis-ci.org/symfony/webpack-encore)
[![NPM Version](https://badge.fury.io/js/%40symfony%2Fwebpack-encore.svg)](https://badge.fury.io/js/%40symfony%2Fwebpack-encore)
![Node](https://img.shields.io/node/v/@symfony/webpack-encore.svg)

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.

> [!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).

---
_Source: https://npm.io/package/@symfony/webpack-encore · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
