symfony / webpack-encore

A simple but powerful API for processing & compiling assets built around Webpack
https://symfony.com/doc/current/frontend.html
MIT License
2.23k stars 198 forks source link

PNPM Support #1279

Closed Kocal closed 3 months ago

Kocal commented 3 months ago
➜  sf-webpack-encore-lab git:(main) pnpm dev

> @ dev /Users/kocal/workspace/sf-webpack-encore-lab
> encore dev

Running webpack ...

  Error: Install eslint & eslint-webpack-plugin to use enableEslintPlugin()
    yarn add eslint eslint-webpack-plugin@^4.0.0 --dev

When using pnpm (or when having a pnpm-lock.yaml, I expect the command to be pnpm add eslint eslint-webpack-plugin@^4.0.0 --save-dev