trackr-frontend
trackr-frontend copied to clipboard
Replace "absolut" require paths with relative ones
At the moment all require paths are absolute to the base URL '/src'. If the build system allows it they should be replaced with relative URLs to the current module which would greatly improve readability. Example:
// src/modules/reportr/reportrModule.js
define(['angular',
'modules/reportr/revenueController',
'modules/reportr/vacationController',
...
// can be replaced with
define(['angular',
'./revenueController',
'./vacationController',
...