Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
In staging I noticed that the app.css is not using cache-busting, causing changes to go unnoticed by browsers. Use https://symfony.com/doc/current/reference/configuration/framework.html#version and version_format to fix that before going to production.
This commit massively reworks how we deal with frontend code and assets: JS, (S)CSS, and images. Previously, we included minified JS/CSS files in our repository and handled them through Assetic. Assetic is now deprecated, and manually handling dependencies isn't a great use of our time either. With this commit, we switch to a more modern frontend flow using Webpack Encore. - All third-party JS/CSS is installed as node.js package through yarn, as described in package.json. - Many libraries have been updated to a more recent version, with the exception of Algolia and Bootstrap. (For these updates we need to make more code changes.) - The compat layer for IE < 9 has been removed. According to our analytics, this affects significantly below one percent of our users. Fixes #292, #260, #376 Initial work by Aquib Baig, with further contributions by Philipp Wagner.