I would like to use the new version of Webpack encore to have access to all the new features it offers. however after following the steps in the official guide I can\'t make
Just run the following 2 cmds:
composer require symfony/webpack-encore-bundle
composer remove symfony/webpack-encore-pack
This fixed the issue for me, apparently they had upgraded webpack encore package with symfony 4;
Here's some reading:
https://symfony.com/blog/encore-0-21-0-webpack-4-support-copy-files-support-webpackencorebundle