Top "Webpack-encore" questions

An API for processing & compiling assets built around Webpack.

webpack: Cannot read property 'match' of undefined

I have installed webpack (Symfony encore) using npm as follows: sudo npm install -g @symfony/webpack-encore --save-dev I ran this …

symfony npm webpack webpack-encore
How to add Fontawesome 5 to Symfony 4 using Webpack Encore

I want to add Font Awesome 5 to my Symfony 4 project, this is what I did : I added font awesome to …

symfony4 font-awesome-5 webpack-encore
How to handle assets in Symfony 4

I am building an application with Symfony 4 and I'd like to follow the best practices for web assets. I use …

symfony assets webpack-encore
Using bootstrap with Webpack Encore in Symfony 4

I would like to use bootstrap with Webpack Encore in Symfony 4.1 but bootstrap does not function. In the template/base.…

bootstrap-4 symfony4 webpack-encore
Webpack Encore - $ is not defined

I followed the documentation to make Webpack Encore work in my project. Imported js files in webpack.config.js work …

symfony webpack twig webpack-encore
Symfony 4 webpack + encore handle image in template

Using Symfony 4 with Webpack + Encore + Yarn, I want to handle images in my templates, and I am not really how …

symfony webpack webpack-encore
Unknown "encore_entry_link_tags" function when using Webpack Encore ^0.21.0

I would like to use the new version of Webpack encore to have access to all the new features it …

symfony npm webpack webpack-4 webpack-encore