Category: webpack-encore

Symfony 4 – Webpack-encore use FosJsRouting : Routing is not defined

I try to use FosJsRouting with Webpack-encore in my Symfony 4 project. I did : 1. composer require friendsofsymfony/jsrouting-bundle 2. php bin/console assets:install –symlink public 3. php bin/console fos:js-routing:dump –format=json –target=public/js/fos_js_routes.json And in my app.js : // FosJsRouting const routes…

Stylelint output does not show the name of the file where warnings occur

When running stylelint the output of warnings does not show the name of the file where the error occurs (with errors it does work fine). My files look like this: app.scss @import ‘./_file-with-error’; _file-with-error.scss html body { color: red; }…