code4romania / covid-19-ro-help

Platform for NGOs to create donation requests and to broadcast their services in an emergency
Mozilla Public License 2.0
18 stars 41 forks source link

Concatenate and minify css/js #369

Open Utwo opened 4 years ago

Utwo commented 4 years ago

JS files loaded in header and footer should be concatenated in one single file and minified at build time in order to reduce the number of request to the server. Same with CSS files.

CSS and JS files loaded from a CDN should be downloaded locally and added to the bundle. JS file should be added right before closing tag. CSS file should be inside