Skip to content

Remove header.js from main.js

We currently have in the main.js the app/assets/javascripts/header.js file linked, which imports quite a lot of libraries due to:

  • Importing the Status Modal Dialogs only when trigger + modals are on screen

Those optimizations would help reduce the overall size of main.js significantly (without behavoirs.js linked it was 200KB)

Edited by Tim Zallmann